Default new random valuenodes to SMOOTH_CUBIC interpolation.
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Thu, 11 Oct 2007 01:53:57 +0000 (01:53 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Thu, 11 Oct 2007 01:53:57 +0000 (01:53 +0000)
git-svn-id: http://svn.voria.com/code@906 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-core/trunk/src/modules/mod_noise/valuenode_random.cpp

index b49b57b..3bf6ab4 100644 (file)
@@ -60,7 +60,7 @@ ValueNode_Random::ValueNode_Random(const ValueBase &value):
        set_link("radius",ValueNode_Const::create(Real(1)));
        set_link("seed",ValueNode_Const::create(random.get_seed()));
        set_link("speed",ValueNode_Const::create(Real(1)));
-       set_link("smooth",ValueNode_Const::create(int(0)));
+       set_link("smooth",ValueNode_Const::create(int(Random::SMOOTH_CUBIC)));
 
        switch(get_type())
        {