diff options
author | Sybren A. Stüvel <sybren@blender.org> | 2020-11-02 17:16:05 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@blender.org> | 2020-11-02 17:36:18 +0300 |
commit | 7872bcafa0ffdc642406ac87e5261f69bb0d7bfb (patch) | |
tree | 0db8432804a82bfc7daa6519753cfbe783d257a8 | |
parent | 7887e91d316567366e99fb0d066861cb89ae5816 (diff) |
Cleanup: Document output of `BKE_object_where_is_calc` and friends
Add a comment to the declaration of the `BKE_object_where_is_calc...()`
functions to explain where the result of the calculation is stored.
No functional changes.
-rw-r--r-- | source/blender/blenkernel/BKE_object.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_object.h b/source/blender/blenkernel/BKE_object.h index 0a992f2cb58..b7015942cb4 100644 --- a/source/blender/blenkernel/BKE_object.h +++ b/source/blender/blenkernel/BKE_object.h @@ -191,6 +191,8 @@ struct Base **BKE_object_pose_base_array_get(struct ViewLayer *view_layer, unsigned int *r_bases_len); void BKE_object_get_parent_matrix(struct Object *ob, struct Object *par, float r_parentmat[4][4]); + +/* Compute object world transform and store it in ob->obmat. */ void BKE_object_where_is_calc(struct Depsgraph *depsgraph, struct Scene *scene, struct Object *ob); void BKE_object_where_is_calc_ex(struct Depsgraph *depsgraph, struct Scene *scene, |