Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Wilkins <Jason.A.Wilkins@gmail.com>2012-07-06 00:44:42 +0400
committerJason Wilkins <Jason.A.Wilkins@gmail.com>2012-07-06 00:44:42 +0400
commit3e073f42a58c5de8411b99255a23b8f21c7064c7 (patch)
tree8204bfc16df74a1e2ce512a94ab1828453f4c821 /source/blender/compositor/intern/COM_ExecutionSystemHelper.cpp
parent9f7db7f3eaaeb6f20927230447faf2f926db7f9c (diff)
You do not need to create an object to call a static function.
Diffstat (limited to 'source/blender/compositor/intern/COM_ExecutionSystemHelper.cpp')
-rw-r--r--source/blender/compositor/intern/COM_ExecutionSystemHelper.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/compositor/intern/COM_ExecutionSystemHelper.cpp b/source/blender/compositor/intern/COM_ExecutionSystemHelper.cpp
index 0abf7efdcfa..4627d20ab2f 100644
--- a/source/blender/compositor/intern/COM_ExecutionSystemHelper.cpp
+++ b/source/blender/compositor/intern/COM_ExecutionSystemHelper.cpp
@@ -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);