Leave previously selected layers selected.
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Mon, 7 Apr 2008 15:16:32 +0000 (15:16 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Mon, 7 Apr 2008 15:16:32 +0000 (15:16 +0000)
git-svn-id: http://svn.voria.com/code@1973 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-studio/trunk/src/gtkmm/state_bline.cpp

index 1b7daca..39cf863 100644 (file)
@@ -605,7 +605,7 @@ StateBLine_Context::run_()
 
                value_node_bline->set_member_canvas(canvas);
 
-               synfigapp::SelectionManager::LayerList layer_selection;
+               synfigapp::SelectionManager::LayerList layer_selection(get_canvas_view()->get_selection_manager()->get_selected_layers());
 
                // count how many layers we're going to be creating
                int layers_to_create = this->layers_to_create();