[Bf-blender-cvs] [76ea712] depsgraph_refactor: Depsgraph: Make it more clear in TODO that space check is needed in previous constraint commit

Sergey Sharybin noreply at git.blender.org
Mon Feb 16 13:07:32 CET 2015


Commit: 76ea7125cf488014626472e59d44c615bb0d409d
Author: Sergey Sharybin
Date:   Mon Feb 16 17:06:58 2015 +0500
Branches: depsgraph_refactor
https://developer.blender.org/rB76ea7125cf488014626472e59d44c615bb0d409d

Depsgraph: Make it more clear in TODO that space check is needed in previous constraint commit

===================================================================

M	source/blender/depsgraph/intern/depsgraph_build_relations.cpp

===================================================================

diff --git a/source/blender/depsgraph/intern/depsgraph_build_relations.cpp b/source/blender/depsgraph/intern/depsgraph_build_relations.cpp
index a955242..b282dd9 100644
--- a/source/blender/depsgraph/intern/depsgraph_build_relations.cpp
+++ b/source/blender/depsgraph/intern/depsgraph_build_relations.cpp
@@ -575,6 +575,7 @@ void DepsgraphRelationBuilder::build_constraints(Scene *scene, ID *id, eDepsNode
 				         CONSTRAINT_TYPE_LOCLIKE,
 				         CONSTRAINT_TYPE_TRANSLIKE))
 				{
+					/* TODO(sergey): Add used space check. */
 					ComponentKey target_transform_key(&ct->tar->id, DEPSNODE_TYPE_TRANSFORM);
 					add_relation(target_transform_key, constraint_op_key, DEPSREL_TYPE_TRANSFORM, cti->name);
 				}
@@ -1259,6 +1260,7 @@ void DepsgraphRelationBuilder::build_rig(Scene *scene, Object *ob)
 				case CONSTRAINT_TYPE_SIZELIKE:
 				case CONSTRAINT_TYPE_LOCLIKE:
 				case CONSTRAINT_TYPE_TRANSLIKE:
+					/* TODO(sergey): Add used space check. */
 					pose_depends_on_local_transform = true;
 					break;




More information about the Bf-blender-cvs mailing list