Allow ValueBase objects to be cast to type Real to get their real value. This is...
[synfig.git] / synfig-core / trunk / src / synfig / value.h
index cc6cab9..5e38508 100644 (file)
@@ -320,7 +320,7 @@ public:
 
        operator const list_type&()const { return get_list(); }
        //operator const Color&()const { return get(Color()); }
-       //operator const Real&()const { return get(Real()); }
+       operator const Real&()const { return get(Real()); }
        //operator const Time&()const { return get(Time()); }
 
        operator const Vector&()const {  return get(Vector()); }