From c74f9aa7539e2e83c755101222b5c01cc5fe059b Mon Sep 17 00:00:00 2001 From: dooglus Date: Fri, 8 Feb 2008 16:34:53 +0000 Subject: [PATCH] Experimental: "export SYNFIG_SHOW_CANVAS_PARAM_WAYPOINTS=1" to see canvas parameter waypoints, not canvas content waypoints in PasteCanvas layers. Doesn't work too well - dragging the waypoints doesn't work, for instance. git-svn-id: http://svn.voria.com/code@1628 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-studio/trunk/src/gtkmm/cellrenderer_timetrack.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/synfig-studio/trunk/src/gtkmm/cellrenderer_timetrack.cpp b/synfig-studio/trunk/src/gtkmm/cellrenderer_timetrack.cpp index 21ff895..03538f8 100644 --- a/synfig-studio/trunk/src/gtkmm/cellrenderer_timetrack.cpp +++ b/synfig-studio/trunk/src/gtkmm/cellrenderer_timetrack.cpp @@ -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()); -- 2.7.4