Skip to content

Commit

Permalink
fix: modifying waypoints for a group layer no longer modifies sibling…
Browse files Browse the repository at this point in the history
… layers
  • Loading branch information
mosasauridae committed Jan 21, 2024
1 parent 2f4b441 commit 167d7ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion synfig-studio/src/gui/widgets/widget_timetrack.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -966,7 +966,7 @@ bool Widget_Timetrack::fetch_waypoints(const WaypointItem &wi, std::set<synfig::
if (value_desc.is_value_node())
node = value_desc.get_value_node() ;
else if (value_desc.parent_is_layer() && value_desc.get_layer()->get_param(value_desc.get_param_name()).get_type() == synfig::type_canvas)
node = value_desc.get_canvas();
node = value_desc.get_layer()->get_param(value_desc.get_param_name()).get(synfig::Canvas::Handle());

if (node)
synfig::waypoint_collect(waypoint_set, wi.time_point.get_time(), node, true);
Expand Down

0 comments on commit 167d7ce

Please sign in to comment.