Merged two 'if' statements into one.
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Fri, 2 Nov 2007 20:53:53 +0000 (20:53 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Fri, 2 Nov 2007 20:53:53 +0000 (20:53 +0000)
git-svn-id: http://svn.voria.com/code@1103 1f10aa63-cdf2-0310-b900-c93c546f37ac

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

index 3814d2a..cc9cc1c 100644 (file)
@@ -1225,9 +1225,9 @@ StateDraw_Context::new_region(std::list<synfig::BLinePoint> bline, synfig::Real
                        // Ensure that connections
                        // between blines are properly
                        // connected
-                       if(value_desc.parent_is_value_node() && value_next.parent_is_value_node())
-                       if(value_desc.get_parent_value_node()!=value_next.get_parent_value_node() &&
-                               value_desc.get_value_node()!=value_next.get_value_node())
+                       if(value_desc.parent_is_value_node() && value_next.parent_is_value_node() &&
+                          value_desc.get_parent_value_node()!=value_next.get_parent_value_node() &&
+                          value_desc.get_value_node()!=value_next.get_value_node())
                        {
                                BLinePoint vertex(value_desc.get_value(get_time()).get(BLinePoint()));
                                BLinePoint vertex_next(value_next.get_value(get_time()).get(BLinePoint()));