projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix 1794374 for 'repeat gradient' valuenodes.
[synfig.git]
/
synfig-core
/
trunk
/
src
/
modules
/
lyr_std
/
mandelbrot.cpp
diff --git
a/synfig-core/trunk/src/modules/lyr_std/mandelbrot.cpp
b/synfig-core/trunk/src/modules/lyr_std/mandelbrot.cpp
index
9901436
..
5cc2fdf
100644
(file)
--- a/
synfig-core/trunk/src/modules/lyr_std/mandelbrot.cpp
+++ b/
synfig-core/trunk/src/modules/lyr_std/mandelbrot.cpp
@@
-146,7
+146,7
@@
Mandelbrot::set_param(const String & param, const ValueBase &value)
IMPORT(gradient_inside);
IMPORT(gradient_outside);
IMPORT(gradient_inside);
IMPORT(gradient_outside);
- if(param=="iterations" && value.same_as(iterations))
+ if(param=="iterations" && value.same_
type_
as(iterations))
{
iterations=value.get(iterations);
if(iterations<0)
{
iterations=value.get(iterations);
if(iterations<0)
@@
-155,7
+155,7
@@
Mandelbrot::set_param(const String & param, const ValueBase &value)
iterations=500000;
return true;
}
iterations=500000;
return true;
}
- if(param=="bailout" && value.same_as(bailout))
+ if(param=="bailout" && value.same_
type_
as(bailout))
{
bailout=value.get(bailout);
bailout*=bailout;
{
bailout=value.get(bailout);
bailout*=bailout;
@@
-296,7
+296,7
@@
Mandelbrot::get_color(Context context, const Point &pos)const
zr_hold;
ColorReal
zr_hold;
ColorReal
- depth, mag;
+ depth, mag
(0)
;
Color
ret;
Color
ret;