Fixed a typo in the last commit.
[synfig.git] / synfig-core / trunk / src / modules / lyr_std / rotate.cpp
index b0a9989..2e6c0b0 100644 (file)
@@ -2,6 +2,8 @@
 /*!    \file rotate.cpp
 **     \brief Template Header
 **
+**     $Id$
+**
 **     \legal
 **     Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
 **
@@ -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();