Small cosmetic change.
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Fri, 9 Mar 2007 22:07:35 +0000 (22:07 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Fri, 9 Mar 2007 22:07:35 +0000 (22:07 +0000)
git-svn-id: http://svn.voria.com/code@280 1f10aa63-cdf2-0310-b900-c93c546f37ac

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

index 6f8d806..2a9542d 100644 (file)
@@ -715,16 +715,12 @@ StateDraw_Context::new_bline(std::list<synfig::BLinePoint> bline,bool loop_bline
                {
                        synfigapp::ValueDesc value_desc(start_duck->get_value_desc());
                        if(!value_desc)
-                       {
                                break;
-                       }
 
                        ValueNode_BLine::Handle value_node_bline;
 
                        if(value_desc.parent_is_value_node())
-                       {
                                value_node_bline=ValueNode_BLine::Handle::cast_dynamic(value_desc.get_parent_value_node());
-                       }
 
                        // don't extend looped blines
                        if(value_node_bline && !value_node_bline->get_loop())
@@ -766,9 +762,7 @@ StateDraw_Context::new_bline(std::list<synfig::BLinePoint> bline,bool loop_bline
                {
                        synfigapp::ValueDesc value_desc(finish_duck->get_value_desc());
                        if(!value_desc)
-                       {
                                break;
-                       }
 
                        ValueNode_BLine::Handle value_node_bline;