There's some special-case code to make exporting a blinepoint actually export its...
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Fri, 26 Dec 2008 15:15:39 +0000 (15:15 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Fri, 26 Dec 2008 15:15:39 +0000 (15:15 +0000)
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2322 1f10aa63-cdf2-0310-b900-c93c546f37ac

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

index 6819b7c..9a247cb 100644 (file)
@@ -1018,6 +1018,7 @@ Instance::make_param_menu(Gtk::Menu *menu,synfig::Canvas::Handle canvas, synfiga
        param_list=canvas_interface->generate_param_list(value_desc);
        param_list.add("origin",location);
 
+#ifdef BLINEPOINT_MENU_IS_VERTEX_MENU
        if(value_desc.get_value_type()==ValueBase::TYPE_BLINEPOINT && value_desc.is_value_node() && ValueNode_Composite::Handle::cast_dynamic(value_desc.get_value_node()))
        {
                param_list2=canvas_interface->generate_param_list(
@@ -1028,6 +1029,7 @@ Instance::make_param_menu(Gtk::Menu *menu,synfig::Canvas::Handle canvas, synfiga
                );
                param_list2.add("origin",location);
        }
+#endif // BLINEPOINT_MENU_IS_VERTEX_MENU
 
        // Populate the convert menu by looping through
        // the ValueNode book and find the ones that are