projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Allow the user to specify the start and end colors when repeating a gradient.
[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
b0a9989
..
2e6c0b0
100644
(file)
--- a/
synfig-core/trunk/src/modules/lyr_std/rotate.cpp
+++ b/
synfig-core/trunk/src/modules/lyr_std/rotate.cpp
@@
-2,6
+2,8
@@
/*! \file rotate.cpp
** \brief Template Header
**
/*! \file rotate.cpp
** \brief Template Header
**
+** $Id$
+**
** \legal
** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
**
** \legal
** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
**
@@
-77,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();