From efdd8790bf446286b9f1f8543b17590c7fac316e Mon Sep 17 00:00:00 2001 From: dooglus Date: Sat, 22 Nov 2008 15:32:53 +0000 Subject: [PATCH] Allow ValueBase objects to be cast to type Real to get their real value. This is an attempt to get the 'metaballs' example module building again. git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2234 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-core/trunk/src/synfig/value.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/synfig-core/trunk/src/synfig/value.h b/synfig-core/trunk/src/synfig/value.h index cc6cab9..5e38508 100644 --- a/synfig-core/trunk/src/synfig/value.h +++ b/synfig-core/trunk/src/synfig/value.h @@ -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()); } -- 2.7.4