From e7715b319609054f932166c60ec7bae8a3be3fa5 Mon Sep 17 00:00:00 2001 From: dooglus Date: Fri, 11 Jan 2008 09:46:03 +0000 Subject: [PATCH] Add type checking for the Random ValueNode too. git-svn-id: http://svn.voria.com/code@1327 1f10aa63-cdf2-0310-b900-c93c546f37ac --- .../src/modules/mod_noise/valuenode_random.cpp | 27 +++++----------------- 1 file changed, 6 insertions(+), 21 deletions(-) diff --git a/synfig-core/trunk/src/modules/mod_noise/valuenode_random.cpp b/synfig-core/trunk/src/modules/mod_noise/valuenode_random.cpp index 101f793..273416b 100644 --- a/synfig-core/trunk/src/modules/mod_noise/valuenode_random.cpp +++ b/synfig-core/trunk/src/modules/mod_noise/valuenode_random.cpp @@ -173,32 +173,17 @@ ValueNode_Random::get_local_name()const } bool -ValueNode_Random::set_link_vfunc(int i,ValueNode::Handle x) +ValueNode_Random::set_link_vfunc(int i,ValueNode::Handle value) { assert(i>=0 && i