/*! \file mandelbrot.cpp
** \brief Template Header
**
+** $Id$
+**
** \legal
** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
**
SYNFIG_LAYER_SET_LOCAL_NAME(Mandelbrot,_("Mandelbrot Set"));
SYNFIG_LAYER_SET_CATEGORY(Mandelbrot,_("Fractals"));
SYNFIG_LAYER_SET_VERSION(Mandelbrot,"0.2");
-SYNFIG_LAYER_SET_CVS_ID(Mandelbrot,"$Id: mandelbrot.cpp,v 1.1.1.1 2005/01/04 01:23:10 darco Exp $");
+SYNFIG_LAYER_SET_CVS_ID(Mandelbrot,"$Id$");
/* === P R O C E D U R E S ================================================= */
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=500000;
return true;
}
- if(param=="bailout" && value.same_as(bailout))
+ if(param=="bailout" && value.same_type_as(bailout))
{
bailout=value.get(bailout);
bailout*=bailout;