projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use 0 for the index if the closest point is on the segment which closes the loop...
[synfig.git]
/
synfig-studio
/
trunk
/
src
/
gtkmm
/
state_draw.cpp
diff --git
a/synfig-studio/trunk/src/gtkmm/state_draw.cpp
b/synfig-studio/trunk/src/gtkmm/state_draw.cpp
index
646afa7
..
063b3a7
100644
(file)
--- a/
synfig-studio/trunk/src/gtkmm/state_draw.cpp
+++ b/
synfig-studio/trunk/src/gtkmm/state_draw.cpp
@@
-377,7
+377,7
@@
StateDraw_Context::increment_id()
String str_number;
str_number=String(id,id.size()-digits,id.size());
id=String(id,0,id.size()-digits);
String str_number;
str_number=String(id,id.size()-digits,id.size());
id=String(id,0,id.size()-digits);
- synfig::info("---------------- \"%s\"",str_number.c_str());
+
//
synfig::info("---------------- \"%s\"",str_number.c_str());
number=atoi(str_number.c_str());
}
number=atoi(str_number.c_str());
}
@@
-425,8
+425,6
@@
StateDraw_Context::StateDraw_Context(CanvasView* canvas_view):
check_localerror(_("LocalError"))
{
check_localerror(_("LocalError"))
{
- synfig::info("STATE SKETCH: entering state");
-
nested=0;
load_settings();
nested=0;
load_settings();
@@
-1011,8
+1009,7
@@
StateDraw_Context::new_bline(std::list<synfig::BLinePoint> bline,bool loop_bline
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());
- if(get_auto_export_flag()) {
- printf("this is where we would export the new line\n");
+ if(get_auto_export_flag())
if (!get_canvas_interface()->add_value_node(value_node,get_id()))
{
/* it's no big deal, is it? let's keep the shape anyway */
if (!get_canvas_interface()->add_value_node(value_node,get_id()))
{
/* it's no big deal, is it? let's keep the shape anyway */
@@
-1021,7
+1018,6
@@
StateDraw_Context::new_bline(std::list<synfig::BLinePoint> bline,bool loop_bline
// increment_id();
// return Smach::RESULT_ERROR;
}
// increment_id();
// return Smach::RESULT_ERROR;
}
- }
last_stroke=value_node;
last_stroke_id=get_id();
last_stroke=value_node;
last_stroke_id=get_id();