fix for [#31543] Nodes use array past bounds
authorJeroen Bakker <j.bakker@atmind.nl>
Mon, 21 May 2012 16:05:45 +0000 (16:05 +0000)
committerJeroen Bakker <j.bakker@atmind.nl>
Mon, 21 May 2012 16:05:45 +0000 (16:05 +0000)
source/blender/compositor/intern/COM_Node.cpp

index f06672a..ba5e21d 100644 (file)
@@ -138,7 +138,6 @@ void Node::addSetVectorOperation(ExecutionSystem *graph, InputSocket *inputsocke
        operation->setX(val->value[0]);
        operation->setY(val->value[1]);
        operation->setZ(val->value[2]);
-       operation->setW(val->value[3]);
        this->addLink(graph, operation->getOutputSocket(), inputsocket);
        graph->addOperation(operation);
 }