projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
New version 0.2 of the Time Loop layer. It uses the same parameters as the recently...
[synfig.git]
/
synfig-core
/
trunk
/
src
/
modules
/
lyr_std
/
rotate.cpp
diff --git
a/synfig-core/trunk/src/modules/lyr_std/rotate.cpp
b/synfig-core/trunk/src/modules/lyr_std/rotate.cpp
index
963e8e5
..
f757f84
100644
(file)
--- a/
synfig-core/trunk/src/modules/lyr_std/rotate.cpp
+++ b/
synfig-core/trunk/src/modules/lyr_std/rotate.cpp
@@
-1,6
+1,6
@@
/* === S Y N F I G ========================================================= */
/*! \file rotate.cpp
/* === S Y N F I G ========================================================= */
/*! \file rotate.cpp
-** \brief
Template Head
er
+** \brief
Implementation of the "Rotate" lay
er
**
** $Id$
**
**
** $Id$
**
@@
-51,8
+51,8
@@
SYNFIG_LAYER_INIT(Rotate);
SYNFIG_LAYER_SET_NAME(Rotate,"rotate");
SYNFIG_LAYER_INIT(Rotate);
SYNFIG_LAYER_SET_NAME(Rotate,"rotate");
-SYNFIG_LAYER_SET_LOCAL_NAME(Rotate,_("Rotate"));
-SYNFIG_LAYER_SET_CATEGORY(Rotate,_("Transform"));
+SYNFIG_LAYER_SET_LOCAL_NAME(Rotate,
N
_("Rotate"));
+SYNFIG_LAYER_SET_CATEGORY(Rotate,
N
_("Transform"));
SYNFIG_LAYER_SET_VERSION(Rotate,"0.1");
SYNFIG_LAYER_SET_CVS_ID(Rotate,"$Id$");
SYNFIG_LAYER_SET_VERSION(Rotate,"0.1");
SYNFIG_LAYER_SET_CVS_ID(Rotate,"$Id$");
@@
-79,7
+79,7
@@
Rotate::set_param(const String & param, const ValueBase &value)
{
IMPORT(origin);
{
IMPORT(origin);
- if(param=="amount" && value.same_as(amount))
+ if(param=="amount" && value.same_
type_
as(amount))
{
amount=value.get(amount);
sin_val=Angle::sin(amount).get();
{
amount=value.get(amount);
sin_val=Angle::sin(amount).get();