From: dooglus Date: Mon, 7 Apr 2008 15:16:09 +0000 (+0000) Subject: When adding new circles, leave previously selected layers selected. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=d2e8be7fc7b561b6f809c69edac7f1260548bfa2;p=synfig.git When adding new circles, leave previously selected layers selected. git-svn-id: http://svn.voria.com/code@1971 1f10aa63-cdf2-0310-b900-c93c546f37ac --- diff --git a/synfig-studio/trunk/src/gtkmm/state_circle.cpp b/synfig-studio/trunk/src/gtkmm/state_circle.cpp index 9196ce9..38b1797 100644 --- a/synfig-studio/trunk/src/gtkmm/state_circle.cpp +++ b/synfig-studio/trunk/src/gtkmm/state_circle.cpp @@ -527,7 +527,7 @@ StateCircle_Context::make_circle(const Point& _p1, const Point& _p2) canvas=layer->get_canvas(); } - synfigapp::SelectionManager::LayerList layer_selection; + synfigapp::SelectionManager::LayerList layer_selection(get_canvas_view()->get_selection_manager()->get_selected_layers()); const synfig::TransformStack& transform(get_canvas_view()->get_curr_transform_stack()); const Point p1(transform.unperform(_p1));