[Bf-blender-cvs] [8c8cf19] depsgraph_refactor: Depsgraph: Temp solution for calculate motion paths

Sergey Sharybin noreply at git.blender.org
Fri Feb 20 16:29:40 CET 2015


Commit: 8c8cf19ead8e086135eaa90b58be60d043e254f2
Author: Sergey Sharybin
Date:   Fri Feb 20 20:27:05 2015 +0500
Branches: depsgraph_refactor
https://developer.blender.org/rB8c8cf19ead8e086135eaa90b58be60d043e254f2

Depsgraph: Temp solution for calculate motion paths

Re-enable armature handing from old object_handle_update.

For this to work fully we'll need to keep track of ob->recalc, which
is also seems to be quite needed for proper re-tagging after relations
are built anyway.

And in any case, for features like this seems having single function
to update given object is not totally terribly idea.

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

M	source/blender/blenkernel/intern/object_update.c

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

diff --git a/source/blender/blenkernel/intern/object_update.c b/source/blender/blenkernel/intern/object_update.c
index f3e6b99..c62e8a1 100644
--- a/source/blender/blenkernel/intern/object_update.c
+++ b/source/blender/blenkernel/intern/object_update.c
@@ -201,10 +201,7 @@ void BKE_object_handle_data_update(EvaluationContext *eval_ctx,
 			}
 		}
 		else {
-			// XXX: standard evaluation is now handled by our new nodes, so this case is not needed anymore
-			if (DEG_depsgraph_use_legacy()) {
-				BKE_pose_where_is(scene, ob);
-			}
+			BKE_pose_where_is(scene, ob);
 		}
 		break;




More information about the Bf-blender-cvs mailing list