From d2e8be7fc7b561b6f809c69edac7f1260548bfa2 Mon Sep 17 00:00:00 2001 From: dooglus Date: Mon, 7 Apr 2008 15:16:09 +0000 Subject: [PATCH] When adding new circles, leave previously selected layers selected. git-svn-id: http://svn.voria.com/code@1971 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-studio/trunk/src/gtkmm/state_circle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); -- 2.7.4