X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fmodules%2Flyr_std%2Fjulia.cpp;h=04c8c9853f2037ae3e41fbf3c2ca6a905321f73d;hb=37600b4b217caa5e316984ec0b035c5e8f9698af;hp=0c95ab1dd9fdba52475e85e7706b9bce7b6f4fad;hpb=70bcefce2ab011a11014f36fc129b473cc0bc61e;p=synfig.git diff --git a/synfig-core/trunk/src/modules/lyr_std/julia.cpp b/synfig-core/trunk/src/modules/lyr_std/julia.cpp index 0c95ab1..04c8c98 100644 --- a/synfig-core/trunk/src/modules/lyr_std/julia.cpp +++ b/synfig-core/trunk/src/modules/lyr_std/julia.cpp @@ -2,8 +2,11 @@ /*! \file julia.cpp ** \brief Template Header ** +** $Id$ +** ** \legal ** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley +** Copyright (c) 2007 Chris Moore ** ** This package is free software; you can redistribute it and/or ** modify it under the terms of the GNU General Public License as @@ -53,7 +56,7 @@ SYNFIG_LAYER_SET_NAME(Julia,"julia"); SYNFIG_LAYER_SET_LOCAL_NAME(Julia,_("Julia Set")); SYNFIG_LAYER_SET_CATEGORY(Julia,_("Fractals")); SYNFIG_LAYER_SET_VERSION(Julia,"0.1"); -SYNFIG_LAYER_SET_CVS_ID(Julia,"$Id: julia.cpp,v 1.1.1.1 2005/01/04 01:23:10 darco Exp $"); +SYNFIG_LAYER_SET_CVS_ID(Julia,"$Id$"); /* === P R O C E D U R E S ================================================= */ @@ -141,7 +144,7 @@ Julia::set_param(const String & param, const ValueBase &value) IMPORT(smooth_outside); IMPORT(broken); - if(param=="iterations" && value.same_as(iterations)) + if(param=="iterations" && value.same_type_as(iterations)) { iterations=value.get(iterations); if(iterations<0) @@ -150,7 +153,7 @@ Julia::set_param(const String & param, const ValueBase &value) 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; @@ -202,7 +205,7 @@ Julia::get_color(Context context, const Point &pos)const zr_hold; ColorReal - depth, mag; + depth, mag(0); Color ret;