From: dooglus Date: Sat, 11 Oct 2008 06:06:42 +0000 (+0000) Subject: Enable the width tool by default. It can be disabled by setting X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=94e7117b766a58e50f269f93854a95e253a181f2;p=synfig.git Enable the width tool by default. It can be disabled by setting environment variable SYNFIG_DISABLE_WIDTH. git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2091 1f10aa63-cdf2-0310-b900-c93c546f37ac --- diff --git a/synfig-studio/trunk/src/gtkmm/app.cpp b/synfig-studio/trunk/src/gtkmm/app.cpp index 8525e0a..75af506 100644 --- a/synfig-studio/trunk/src/gtkmm/app.cpp +++ b/synfig-studio/trunk/src/gtkmm/app.cpp @@ -1256,9 +1256,7 @@ App::App(int *argc, char ***argv): if(!getenv("SYNFIG_DISABLE_DRAW" )) state_manager->add_state(&state_draw); // Enabled for now. Let's see whether they're good enough yet. if(!getenv("SYNFIG_DISABLE_SKETCH" )) state_manager->add_state(&state_sketch); - - // Disabled by default - it doesn't work properly? - if(getenv("SYNFIG_ENABLE_WIDTH" )) state_manager->add_state(&state_width); + if(!getenv("SYNFIG_DISABLE_WIDTH" )) state_manager->add_state(&state_width); // Enabled since 0.61.09 studio_init_cb.task(_("Init ModPalette...")); module_list_.push_back(new ModPalette()); module_list_.back()->start();