[Bf-blender-cvs] [f565475] depsgraph_refactor: Fix for operation categorization by type, NOOP is now the first real operation type.
Lukas Tönne
noreply at git.blender.org
Tue May 20 20:01:45 CEST 2014
Commit: f565475c37551a749d25d6ed8eb6fdcc7bfe5e26
Author: Lukas Tönne
Date: Tue May 20 19:59:09 2014 +0200
https://developer.blender.org/rBf565475c37551a749d25d6ed8eb6fdcc7bfe5e26
Fix for operation categorization by type, NOOP is now the first real operation
type.
===================================================================
M source/blender/depsgraph/intern/depsnode.cpp
===================================================================
diff --git a/source/blender/depsgraph/intern/depsnode.cpp b/source/blender/depsgraph/intern/depsnode.cpp
index a35253b..b72c715 100644
--- a/source/blender/depsgraph/intern/depsnode.cpp
+++ b/source/blender/depsgraph/intern/depsnode.cpp
@@ -49,7 +49,7 @@ DepsNode::TypeInfo::TypeInfo(eDepsNode_Type type, const string &tname, eDepsNode
this->type = type;
if (type < DEPSNODE_TYPE_PARAMETERS)
this->tclass = DEPSNODE_CLASS_GENERIC;
- else if (type < DEPSNODE_TYPE_OP_PARAMETER)
+ else if (type < DEPSNODE_TYPE_OP_NOOP)
this->tclass = DEPSNODE_CLASS_COMPONENT;
else
this->tclass = DEPSNODE_CLASS_OPERATION;
More information about the Bf-blender-cvs
mailing list