When filling the last stroke in the drawing tool, give the new region layer a name...
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Thu, 1 Nov 2007 01:49:15 +0000 (01:49 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Thu, 1 Nov 2007 01:49:15 +0000 (01:49 +0000)
git-svn-id: http://svn.voria.com/code@1100 1f10aa63-cdf2-0310-b900-c93c546f37ac

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

index 2dd213a..22bfbe4 100644 (file)
@@ -1525,6 +1525,7 @@ StateDraw_Context::fill_last_stroke()
        layer=get_canvas_interface()->add_layer("region");
        assert(layer);
        layer->set_param("color",synfigapp::Main::get_background_color());
+       layer->set_description(get_id() + _(" Fill"));
 
        synfigapp::Action::Handle action(synfigapp::Action::create("layer_param_connect"));