From: dooglus Date: Tue, 29 Jan 2008 08:31:07 +0000 (+0000) Subject: Default 'end time' for new canvases to 5s instead of 0. That's one less thing a... X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=aa1b0a73c81d6610500621a6680b417cf80e9985;p=synfig.git Default 'end time' for new canvases to 5s instead of 0. That's one less thing a new user then needs to edit to start making his first animation. Also, don't show the intimidating canvas properties dialog when a layer is created, just use the defaults. Set environment variable "SYNFIG_ENABLE_NEW_CANVAS_EDIT_PROPERTIES" to revert this change locally. See synfig.org/Wish_list#Improved_User_Experience_for_First_Contact . git-svn-id: http://svn.voria.com/code@1519 1f10aa63-cdf2-0310-b900-c93c546f37ac --- diff --git a/synfig-studio/trunk/src/gtkmm/app.cpp b/synfig-studio/trunk/src/gtkmm/app.cpp index 4d8fa5c..63cb57d 100644 --- a/synfig-studio/trunk/src/gtkmm/app.cpp +++ b/synfig-studio/trunk/src/gtkmm/app.cpp @@ -1921,7 +1921,7 @@ App::new_instance() canvas->rend_desc().set_frame_rate(24.0); canvas->rend_desc().set_time_start(0.0); - canvas->rend_desc().set_time_end(00.0); + canvas->rend_desc().set_time_end(5.0); canvas->rend_desc().set_x_res(DPI2DPM(72.0f)); canvas->rend_desc().set_y_res(DPI2DPM(72.0f)); canvas->rend_desc().set_tl(Vector(-4,2.25)); @@ -1934,7 +1934,7 @@ App::new_instance() handle instance = Instance::create(canvas); - if (!getenv("SYNFIG_DISABLE_NEW_CANVAS_EDIT_PROPERTIES")) + if (getenv("SYNFIG_ENABLE_NEW_CANVAS_EDIT_PROPERTIES")) instance->find_canvas_view(canvas)->canvas_properties.present(); }