Experimental: "export SYNFIG_SHOW_CANVAS_PARAM_WAYPOINTS=1" to see canvas parameter...
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Fri, 8 Feb 2008 16:34:53 +0000 (16:34 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Fri, 8 Feb 2008 16:34:53 +0000 (16:34 +0000)
git-svn-id: http://svn.voria.com/code@1628 1f10aa63-cdf2-0310-b900-c93c546f37ac

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

index 21ff895..03538f8 100644 (file)
@@ -152,7 +152,8 @@ const synfig::Time get_time_offset_from_vdesc(const synfigapp::ValueDesc &v)
 //kind of a hack... pointer is ugly
 const synfig::Node::time_set *get_times_from_vdesc(const synfigapp::ValueDesc &v)
 {
-       if(v.get_value_type() == synfig::ValueBase::TYPE_CANVAS)
+       if(!getenv("SYNFIG_SHOW_CANVAS_PARAM_WAYPOINTS") &&
+          v.get_value_type() == synfig::ValueBase::TYPE_CANVAS)
        {
                synfig::Canvas::Handle canvasparam = v.get_value().get(Canvas::Handle());