projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'genete_static_values'
[synfig.git]
/
synfig-core
/
src
/
modules
/
lyr_std
/
rotate.cpp
diff --git
a/synfig-core/src/modules/lyr_std/rotate.cpp
b/synfig-core/src/modules/lyr_std/rotate.cpp
index
fd13f92
..
569e903
100644
(file)
--- a/
synfig-core/src/modules/lyr_std/rotate.cpp
+++ b/
synfig-core/src/modules/lyr_std/rotate.cpp
@@
-69,6
+69,8
@@
Rotate::Rotate():
sin_val (0),
cos_val (1)
{
sin_val (0),
cos_val (1)
{
+ Layer::Vocab voc(get_param_vocab());
+ Layer::fill_static(voc);
}
Rotate::~Rotate()
}
Rotate::~Rotate()
@@
-85,6
+87,7
@@
Rotate::set_param(const String & param, const ValueBase &value)
amount=value.get(amount);
sin_val=Angle::sin(amount).get();
cos_val=Angle::cos(amount).get();
amount=value.get(amount);
sin_val=Angle::sin(amount).get();
cos_val=Angle::cos(amount).get();
+ set_param_static(param, value.get_static());
return true;
}
return true;
}