projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't "assert(color.is_valid())" before setting the colour's alpha component - it...
[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
799eb75
..
4131b77
100644
(file)
--- a/
synfig-studio/trunk/src/gtkmm/state_draw.cpp
+++ b/
synfig-studio/trunk/src/gtkmm/state_draw.cpp
@@
-661,13
+661,13
@@
StateDraw_Context::process_stroke(StrokeData stroke_data, WidthData width_data,
// Add the widths of the two points
{
// Add the widths of the two points
{
- Real width(bline.front().get_width()+width);
-
width=width<=1?
width:1;
- bline.front().set_width(width);
+ Real
tmp_
width(bline.front().get_width()+width);
+
tmp_width=tmp_width<=1?tmp_
width:1;
+ bline.front().set_width(
tmp_
width);
}
}
}
}
- // If the bline only has on
c
e blinepoint, then there is nothing to do.
+ // If the bline only has one blinepoint, then there is nothing to do.
if(bline.size()<=1)
return Smach::RESULT_OK;
if(bline.size()<=1)
return Smach::RESULT_OK;