From 9183ee8f6580eda7a4d4221c8f417587f91ebaba Mon Sep 17 00:00:00 2001 From: dooglus Date: Tue, 13 Mar 2007 13:39:17 +0000 Subject: [PATCH] Fixed formatting to match surrounding code. git-svn-id: http://svn.voria.com/code@309 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-studio/trunk/src/gtkmm/state_draw.cpp | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/synfig-studio/trunk/src/gtkmm/state_draw.cpp b/synfig-studio/trunk/src/gtkmm/state_draw.cpp index d0c34e8..6c2ecae 100644 --- a/synfig-studio/trunk/src/gtkmm/state_draw.cpp +++ b/synfig-studio/trunk/src/gtkmm/state_draw.cpp @@ -854,7 +854,6 @@ StateDraw_Context::new_bline(std::list 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 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 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 { -- 2.7.4