From: dooglus Date: Thu, 11 Oct 2007 01:53:21 +0000 (+0000) Subject: Add the new 'random' valuenode. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=42e8c5afa54079c8289957632e20c0ddc427bd35;p=synfig.git Add the new 'random' valuenode. git-svn-id: http://svn.voria.com/code@902 1f10aa63-cdf2-0310-b900-c93c546f37ac --- diff --git a/synfig-core/trunk/src/modules/mod_noise/main.cpp b/synfig-core/trunk/src/modules/mod_noise/main.cpp index 058b317..f9ef6dd 100644 --- a/synfig-core/trunk/src/modules/mod_noise/main.cpp +++ b/synfig-core/trunk/src/modules/mod_noise/main.cpp @@ -41,6 +41,7 @@ #include "noise.h" #include "distort.h" #include "random.h" +#include "valuenode_random.h" #endif @@ -59,4 +60,8 @@ MODULE_INVENTORY_BEGIN(libmod_noise) LAYER(Noise) LAYER(NoiseDistort) END_LAYERS + + BEGIN_VALUENODES + VALUENODE(synfig::ValueNode_Random, "random", _("Random")) + END_VALUENODES MODULE_INVENTORY_END