X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fmodules%2Flyr_std%2Frotate.cpp;h=2e6c0b0103db1f13f3045a94321a48ed13ce73af;hb=e0377487e76a85662997cdf4c6c467e47c9d5560;hp=0aa35e28f106ba5b9812c177d55739e30757d3eb;hpb=70bcefce2ab011a11014f36fc129b473cc0bc61e;p=synfig.git diff --git a/synfig-core/trunk/src/modules/lyr_std/rotate.cpp b/synfig-core/trunk/src/modules/lyr_std/rotate.cpp index 0aa35e2..2e6c0b0 100644 --- 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 ** +** $Id$ +** ** \legal ** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley ** @@ -52,7 +54,7 @@ SYNFIG_LAYER_SET_NAME(Rotate,"rotate"); SYNFIG_LAYER_SET_LOCAL_NAME(Rotate,_("Rotate")); SYNFIG_LAYER_SET_CATEGORY(Rotate,_("Transform")); SYNFIG_LAYER_SET_VERSION(Rotate,"0.1"); -SYNFIG_LAYER_SET_CVS_ID(Rotate,"$Id: rotate.cpp,v 1.2 2005/01/24 05:00:18 darco Exp $"); +SYNFIG_LAYER_SET_CVS_ID(Rotate,"$Id$"); /* === P R O C E D U R E S ================================================= */ @@ -77,7 +79,7 @@ Rotate::set_param(const String & param, const ValueBase &value) { 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();