You do not need to create an object to call a static function.
authorJason Wilkins <Jason.A.Wilkins@gmail.com>
Thu, 5 Jul 2012 20:44:42 +0000 (20:44 +0000)
committerJason Wilkins <Jason.A.Wilkins@gmail.com>
Thu, 5 Jul 2012 20:44:42 +0000 (20:44 +0000)
source/blender/compositor/intern/COM_ExecutionSystemHelper.cpp

index 0abf7efdcfa8591c36b452776eb86fccfe84bd5f..4627d20ab2f0b9135b28aba94d6ef3da9cbc6c21 100644 (file)
@@ -79,9 +79,8 @@ void ExecutionSystemHelper::addNode(vector<Node *>& nodes, Node *node)
 
 Node *ExecutionSystemHelper::addNode(vector<Node *>& nodes, bNode *b_node, bool inActiveGroup, bool fast)
 {
-       Converter converter;
        Node *node;
-       node = converter.convert(b_node, fast);
+       node = Converter::convert(b_node, fast);
        node->setIsInActiveGroup(inActiveGroup);
        if (node != NULL) {
                addNode(nodes, node);