From 6f18d890478531ab467daf9d775e1f17ce7c0a61 Mon Sep 17 00:00:00 2001 From: dooglus Date: Thu, 1 Nov 2007 01:49:15 +0000 Subject: [PATCH] When filling the last stroke in the drawing tool, give the new region layer a name with ' Fill' on the end. git-svn-id: http://svn.voria.com/code@1100 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-studio/trunk/src/gtkmm/state_draw.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/synfig-studio/trunk/src/gtkmm/state_draw.cpp b/synfig-studio/trunk/src/gtkmm/state_draw.cpp index 2dd213a..22bfbe4 100644 --- a/synfig-studio/trunk/src/gtkmm/state_draw.cpp +++ b/synfig-studio/trunk/src/gtkmm/state_draw.cpp @@ -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")); -- 2.7.4