From: dooglus Date: Thu, 1 Nov 2007 01:49:15 +0000 (+0000) Subject: When filling the last stroke in the drawing tool, give the new region layer a name... X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=6f18d890478531ab467daf9d775e1f17ce7c0a61;p=synfig.git 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 --- 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"));