When making ducks for elements of a list of vectors, don't set origins for the ducks...
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Sat, 22 Nov 2008 15:33:14 +0000 (15:33 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Sat, 22 Nov 2008 15:33:14 +0000 (15:33 +0000)
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2235 1f10aa63-cdf2-0310-b900-c93c546f37ac

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

index 4169503..5c7fe27 100644 (file)
@@ -1842,7 +1842,7 @@ Duckmatic::add_to_ducks(const synfigapp::ValueDesc& value_desc,etl::handle<Canva
                                                first_duck = duck;
                                        }
 
-                                       if(param_desc)
+                                       if(param_desc && !param_desc->get_origin().empty())
                                        {
                                                                synfigapp::ValueDesc value_desc_origin(value_desc.get_layer(),param_desc->get_origin());
                                                                add_to_ducks(value_desc_origin,canvas_view, transform_stack);