projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change the default 'toggle onion skin' keyboard shortcut from control-o (which is...
[synfig.git]
/
synfig-core
/
trunk
/
src
/
modules
/
lyr_std
/
shade.cpp
diff --git
a/synfig-core/trunk/src/modules/lyr_std/shade.cpp
b/synfig-core/trunk/src/modules/lyr_std/shade.cpp
index
5fc7b2c
..
d37409f
100644
(file)
--- a/
synfig-core/trunk/src/modules/lyr_std/shade.cpp
+++ b/
synfig-core/trunk/src/modules/lyr_std/shade.cpp
@@
-90,7
+90,9
@@
Layer_Shade::set_param(const String ¶m, const ValueBase &value)
{
IMPORT_PLUS(size,clamp(size));
IMPORT(type);
{
IMPORT_PLUS(size,clamp(size));
IMPORT(type);
- IMPORT(color);
+ IMPORT_PLUS(color, { if (color.get_a() == 0) { if (converted_blend_) {
+ set_blend_method(Color::BLEND_ALPHA_OVER);
+ color.set_a(1); } else transparent_color_ = true; } });
IMPORT(offset);
IMPORT(invert);
IMPORT(offset);
IMPORT(invert);