change all frame properties disallows root/nulls in some cases

This commit is contained in:
2025-12-28 18:41:37 -05:00
parent c0b4aaa63e
commit f7109c24d0
5 changed files with 34 additions and 14 deletions

View File

@@ -746,7 +746,7 @@ namespace anm2ed::imgui
if (tool == tool::SCALE && isMouseRightDown) useTool = tool::MOVE;
auto frame_change_apply = [&](anm2::FrameChange frameChange, anm2::ChangeType changeType = anm2::ADJUST)
{ item->frames_change(frameChange, changeType, frames); };
{ item->frames_change(frameChange, reference.itemType, changeType, frames); };
auto& toolInfo = tool::INFO[useTool];
auto& areaType = toolInfo.areaType;