Animation layers in the timeline: child tracks, stepping in, breadcrumb
An animation layer's row shows a folder; opening it lists its child's tracks underneath, greyed and read only, with each keyframe drawn where the parent reaches it. Double-clicking the row (or a child row) steps into the child: its animation in this tab, or its library's tab (opened if need be), at the time the parent plays it. A breadcrumb above the timeline leads back out, and the preview draws the parent around the child, dimmed and frozen where it was stepped in from. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
8807096170
commit
0e705e43fa
15 files changed
+402
-20
No files matched your search
@@ -40,13 +40,8 @@ namespace anm2ed::imgui
|
||||
{
|
||||
manager.command_push({.runManager = [path = document.library_path_get(id)](Manager& manager)
|
||||
{
|
||||
for (int i = 0; i < (int)manager.documents.size(); ++i)
|
||||
{
|
||||
std::error_code ec{};
|
||||
if (!std::filesystem::equivalent(manager.documents[i].path, path, ec)) continue;
|
||||
manager.pendingSelected = i;
|
||||
return manager.set(i);
|
||||
}
|
||||
if (auto index = manager.path_index_get(path); index != -1)
|
||||
return manager.tab_select(index);
|
||||
manager.open(path);
|
||||
}});
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user