diff options
Diffstat (limited to 'source/blender/blenkernel/BKE_object.h')
-rw-r--r-- | source/blender/blenkernel/BKE_object.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/source/blender/blenkernel/BKE_object.h b/source/blender/blenkernel/BKE_object.h index faf878dfc2a..f0eb16a819d 100644 --- a/source/blender/blenkernel/BKE_object.h +++ b/source/blender/blenkernel/BKE_object.h @@ -69,9 +69,6 @@ void BKE_object_free_caches(struct Object *object); void BKE_object_modifier_hook_reset(struct Object *ob, struct HookModifierData *hmd); void BKE_object_modifier_gpencil_hook_reset(struct Object *ob, struct HookGpencilModifierData *hmd); -bool BKE_object_modifier_gpencil_use_time(struct Object *ob, struct GpencilModifierData *md); - -bool BKE_object_shaderfx_use_time(struct Object *ob, struct ShaderFxData *fx); /** * \return True if the object's type supports regular modifiers (not grease pencil modifiers). @@ -376,6 +373,13 @@ bool BKE_object_minmax_dupli(struct Depsgraph *depsgraph, float r_min[3], float r_max[3], bool use_hidden); +/** + * Calculate visual bounds from an empty objects draw-type. + * + * \note This is not part of the calculation used by #BKE_object_boundbox_get + * as these bounds represent the extents of visual guides (use for viewport culling for e.g.) + */ +bool BKE_object_minmax_empty_drawtype(const struct Object *ob, float r_min[3], float r_max[3]); /** * Sometimes min-max isn't enough, we need to loop over each point. @@ -629,8 +633,6 @@ void BKE_object_groups_clear(struct Main *bmain, struct Scene *scene, struct Obj */ struct KDTree_3d *BKE_object_as_kdtree(struct Object *ob, int *r_tot); -bool BKE_object_modifier_use_time(struct Scene *scene, struct Object *ob, struct ModifierData *md); - /** * \note this function should eventually be replaced by depsgraph functionality. * Avoid calling this in new code unless there is a very good reason for it! |