Allow ValueBase objects to be cast to type Real to get their real value. This is...
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Sat, 22 Nov 2008 15:32:53 +0000 (15:32 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Sat, 22 Nov 2008 15:32:53 +0000 (15:32 +0000)
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2234 1f10aa63-cdf2-0310-b900-c93c546f37ac

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()); }