diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-11-21 16:46:02 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-11-21 16:46:02 +0300 |
commit | 0debe33617a01303cc1632436c6724a8af63e91a (patch) | |
tree | 26991cf92afa09459848570df04ba3080688db76 /source | |
parent | 2b1a354d643568845d16844439b9187212d06a87 (diff) |
Depsgraph: Report pointer from object evaluation functions
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/blenkernel/intern/object_update.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/source/blender/blenkernel/intern/object_update.c b/source/blender/blenkernel/intern/object_update.c index 9c235fb8d8c..fbd26950256 100644 --- a/source/blender/blenkernel/intern/object_update.c +++ b/source/blender/blenkernel/intern/object_update.c @@ -71,7 +71,7 @@ void BKE_object_eval_local_transform(const EvaluationContext *UNUSED(eval_ctx), Scene *UNUSED(scene), Object *ob) { - DEBUG_PRINT("%s on %s\n", __func__, ob->id.name); + DEBUG_PRINT("%s on %s (%p)\n", __func__, ob->id.name, ob); /* calculate local matrix */ BKE_object_to_mat4(ob, ob->obmat); @@ -89,7 +89,7 @@ void BKE_object_eval_parent(const EvaluationContext *UNUSED(eval_ctx), float tmat[4][4]; float locmat[4][4]; - DEBUG_PRINT("%s on %s\n", __func__, ob->id.name); + DEBUG_PRINT("%s on %s (%p)\n", __func__, ob->id.name, ob); /* get local matrix (but don't calculate it, as that was done already!) */ // XXX: redundant? @@ -118,7 +118,7 @@ void BKE_object_eval_constraints(const EvaluationContext *eval_ctx, bConstraintOb *cob; float ctime = BKE_scene_frame_get(scene); - DEBUG_PRINT("%s on %s\n", __func__, ob->id.name); + DEBUG_PRINT("%s on %s (%p)\n", __func__, ob->id.name, ob); /* evaluate constraints stack */ /* TODO: split this into: @@ -136,7 +136,7 @@ void BKE_object_eval_constraints(const EvaluationContext *eval_ctx, void BKE_object_eval_done(const EvaluationContext *UNUSED(eval_ctx), Object *ob) { - DEBUG_PRINT("%s on %s\n", __func__, ob->id.name); + DEBUG_PRINT("%s on %s (%p)\n", __func__, ob->id.name, ob); /* Set negative scale flag in object. */ if (is_negative_m4(ob->obmat)) ob->transflag |= OB_NEG_SCALE; @@ -307,7 +307,7 @@ void BKE_object_eval_uber_data(const EvaluationContext *eval_ctx, Scene *scene, Object *ob) { - DEBUG_PRINT("%s on %s\n", __func__, ob->id.name); + DEBUG_PRINT("%s on %s (%p)\n", __func__, ob->id.name, ob); BLI_assert(ob->type != OB_ARMATURE); BKE_object_handle_data_update(eval_ctx, scene, ob); @@ -383,13 +383,13 @@ void BKE_object_eval_uber_data(const EvaluationContext *eval_ctx, void BKE_object_eval_cloth(const EvaluationContext *UNUSED(eval_ctx), Scene *scene, Object *object) { - DEBUG_PRINT("%s on %s\n", __func__, object->id.name); + DEBUG_PRINT("%s on %s (%p)\n", __func__, object->id.name, object); BKE_ptcache_object_reset(scene, object, PTCACHE_RESET_DEPSGRAPH); } void BKE_object_eval_update_shading(const EvaluationContext *UNUSED(eval_ctx), Object *object) { - DEBUG_PRINT("%s on %s\n", __func__, object->id.name); + DEBUG_PRINT("%s on %s (%p)\n", __func__, object->id.name, object); if (object->type == OB_MESH) { BKE_mesh_batch_cache_dirty(object->data, BKE_MESH_BATCH_DIRTY_SHADING); } |