projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix 1795913. Subtract now works with colors.
[synfig.git]
/
synfig-core
/
trunk
/
src
/
modules
/
mod_geometry
/
star.cpp
diff --git
a/synfig-core/trunk/src/modules/mod_geometry/star.cpp
b/synfig-core/trunk/src/modules/mod_geometry/star.cpp
index
be739f1
..
e317d0c
100644
(file)
--- a/
synfig-core/trunk/src/modules/mod_geometry/star.cpp
+++ b/
synfig-core/trunk/src/modules/mod_geometry/star.cpp
@@
-2,6
+2,8
@@
/*! \file star.cpp
** \brief Template Header
**
/*! \file star.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
**
@@
-97,21
+99,21
@@
Star::sync()
bool
Star::set_param(const String & param, const ValueBase &value)
{
bool
Star::set_param(const String & param, const ValueBase &value)
{
- if( param=="radius1" && value.same_as(radius1))
+ if( param=="radius1" && value.same_
type_
as(radius1))
{
value.put(&radius1);
sync();
return true;
}
{
value.put(&radius1);
sync();
return true;
}
- if( param=="radius2" && value.same_as(radius2))
+ if( param=="radius2" && value.same_
type_
as(radius2))
{
value.put(&radius2);
sync();
return true;
}
{
value.put(&radius2);
sync();
return true;
}
- if( param=="points" && value.same_as(points))
+ if( param=="points" && value.same_
type_
as(points))
{
value.put(&points);
if(points<2)points=2;
{
value.put(&points);
if(points<2)points=2;
@@
-119,7
+121,7
@@
Star::set_param(const String & param, const ValueBase &value)
return true;
}
return true;
}
- if( param=="angle" && value.same_as(angle))
+ if( param=="angle" && value.same_
type_
as(angle))
{
value.put(&angle);
sync();
{
value.put(&angle);
sync();