fix for compositor bug, mix node operation `clamp` was uninitialized.
authorCampbell Barton <ideasman42@gmail.com>
Fri, 20 Jul 2012 14:01:43 +0000 (14:01 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Fri, 20 Jul 2012 14:01:43 +0000 (14:01 +0000)
made HSV node randomly clamp values from 0-1.

source/blender/compositor/operations/COM_MixBaseOperation.cpp

index e9dd7078f839c1efb2113627591e75c3f246afc0..9f9c432895e0a936a073f1a6f940d69e716a1e35 100644 (file)
@@ -32,6 +32,7 @@ MixBaseOperation::MixBaseOperation() : NodeOperation()
        this->m_inputColor1Operation = NULL;
        this->m_inputColor2Operation = NULL;
        this->setUseValueAlphaMultiply(false);
+       this->setUseClamp(false);
 }
 
 void MixBaseOperation::initExecution()