Fixed formatting to match surrounding code.
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Tue, 13 Mar 2007 13:39:17 +0000 (13:39 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Tue, 13 Mar 2007 13:39:17 +0000 (13:39 +0000)
git-svn-id: http://svn.voria.com/code@309 1f10aa63-cdf2-0310-b900-c93c546f37ac

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

index d0c34e8..6c2ecae 100644 (file)
@@ -854,7 +854,6 @@ StateDraw_Context::new_bline(std::list<synfig::BLinePoint> bline,bool loop_bline
                }
        }
 
-       //ValueNode_BLine::Handle value_node(ValueNode_BLine::create(synfig::ValueBase(bline,loop_bline_flag)));
        ValueNode_BLine::Handle value_node;
 
        {
@@ -880,9 +879,7 @@ StateDraw_Context::new_bline(std::list<synfig::BLinePoint> bline,bool loop_bline
                        );
 
                        if (shift_offset)
-                         {
-                           new_vertex = new_vertex - shift_offset_vector;
-                         }
+                               new_vertex=new_vertex-shift_offset_vector;
 
                        bline_point.set_vertex(new_vertex);
 
@@ -892,16 +889,12 @@ StateDraw_Context::new_bline(std::list<synfig::BLinePoint> bline,bool loop_bline
        }
 
        if (join_start_no_extend)
-         {
-           LinkableValueNode::Handle::cast_dynamic(value_node->list.front().value_node)->
-             set_link(0,start_duck_value_desc.get_value_node());
-         }
+               LinkableValueNode::Handle::cast_dynamic(value_node->list.front().value_node)->
+                 set_link(0,start_duck_value_desc.get_value_node());
 
        if (join_finish_no_extend)
-         {
-           LinkableValueNode::Handle::cast_dynamic(value_node->list.back().value_node)->
-             set_link(0,finish_duck_value_desc.get_value_node());
-         }
+               LinkableValueNode::Handle::cast_dynamic(value_node->list.back().value_node)->
+                 set_link(0,finish_duck_value_desc.get_value_node());
 
        // Create the layer
        {