diff options
author | Kévin Dietrich <kevin.dietrich@mailoo.org> | 2016-01-09 06:37:53 +0300 |
---|---|---|
committer | Kévin Dietrich <kevin.dietrich@mailoo.org> | 2016-01-09 06:37:53 +0300 |
commit | d7da51b7277252d887cd93b1ac26bfe4ee25ad44 (patch) | |
tree | 0bb4c28cf1b42ee5f3ed0a5a478e99bcfb591a13 /source/blender/blenkernel/BKE_object.h | |
parent | cc0f5bf7ec4a072994633294b4cbea0cd7472a07 (diff) |
Smoke, Dynamic Paint: de-duplicate object subframe update function.
As in the title. In the smoke version, there was also an extra
'for_render' parameter that wasn't used, and wasn't used by the callers
either, so it was removed altogether.
Reviewers: brecht
Reviewed By: brecht
Subscribers: brecht
Differential Revision: https://developer.blender.org/D1718
Diffstat (limited to 'source/blender/blenkernel/BKE_object.h')
-rw-r--r-- | source/blender/blenkernel/BKE_object.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_object.h b/source/blender/blenkernel/BKE_object.h index af3185becf4..d6635f87054 100644 --- a/source/blender/blenkernel/BKE_object.h +++ b/source/blender/blenkernel/BKE_object.h @@ -49,6 +49,8 @@ struct RigidBodyWorld; struct HookModifierData; struct ModifierData; +enum ModifierType; + void BKE_object_workob_clear(struct Object *workob); void BKE_object_workob_calc_parent(struct Scene *scene, struct Object *ob, struct Object *workob); @@ -266,6 +268,10 @@ struct KDTree *BKE_object_as_kdtree(struct Object *ob, int *r_tot); bool BKE_object_modifier_use_time(struct Object *ob, struct ModifierData *md); +bool BKE_object_modifier_update_subframe(struct Scene *scene, struct Object *ob, bool update_mesh, + int parent_recursion, float frame, + enum ModifierType type); + #ifdef __cplusplus } #endif |