From 873a522ce255f4409010eef2ad33282a93dd3eff Mon Sep 17 00:00:00 2001 From: dooglus Date: Fri, 2 Nov 2007 20:53:53 +0000 Subject: [PATCH] Merged two 'if' statements into one. git-svn-id: http://svn.voria.com/code@1103 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-studio/trunk/src/gtkmm/state_draw.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/synfig-studio/trunk/src/gtkmm/state_draw.cpp b/synfig-studio/trunk/src/gtkmm/state_draw.cpp index 3814d2a..cc9cc1c 100644 --- a/synfig-studio/trunk/src/gtkmm/state_draw.cpp +++ b/synfig-studio/trunk/src/gtkmm/state_draw.cpp @@ -1225,9 +1225,9 @@ StateDraw_Context::new_region(std::list 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())); -- 2.7.4