projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove more console output.
[synfig.git]
/
synfig-studio
/
trunk
/
src
/
gtkmm
/
state_bline.cpp
diff --git
a/synfig-studio/trunk/src/gtkmm/state_bline.cpp
b/synfig-studio/trunk/src/gtkmm/state_bline.cpp
index
f1f2221
..
3e87b54
100644
(file)
--- a/
synfig-studio/trunk/src/gtkmm/state_bline.cpp
+++ b/
synfig-studio/trunk/src/gtkmm/state_bline.cpp
@@
-65,7
+65,7
@@
using namespace studio;
/* === M A C R O S ========================================================= */
// if defined, show the first duck as green while drawing
/* === M A C R O S ========================================================= */
// if defined, show the first duck as green while drawing
-
//
#define DISTINGUISH_FIRST_DUCK
+#define DISTINGUISH_FIRST_DUCK
/* === G L O B A L S ======================================================= */
/* === G L O B A L S ======================================================= */
@@
-327,7
+327,7
@@
StateBLine_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());
}
@@
-603,6
+603,8
@@
StateBLine_Context::run_()
if(!canvas)
canvas=get_canvas_view()->get_canvas();
if(!canvas)
canvas=get_canvas_view()->get_canvas();
+ value_node_bline->set_member_canvas(canvas);
+
synfigapp::SelectionManager::LayerList layer_selection;
///////////////////////////////////////////////////////////////////////////
synfigapp::SelectionManager::LayerList layer_selection;
///////////////////////////////////////////////////////////////////////////
@@
-909,7
+911,7
@@
StateBLine_Context::event_mouse_release_handler(const Smach::event& /*x*/)
Smach::event_result
StateBLine_Context::event_mouse_click_handler(const Smach::event& x)
{
Smach::event_result
StateBLine_Context::event_mouse_click_handler(const Smach::event& x)
{
- synfig::info("STATE BLINE: Received mouse button down Event");
+
//
synfig::info("STATE BLINE: Received mouse button down Event");
const EventMouse& event(*reinterpret_cast<const EventMouse*>(&x));
switch(event.button)
{
const EventMouse& event(*reinterpret_cast<const EventMouse*>(&x));
switch(event.button)
{