diff options
author | Dalai Felinto <dalai@blender.org> | 2022-03-30 13:23:39 +0300 |
---|---|---|
committer | YimingWu <xp8110@outlook.com> | 2022-04-02 16:09:02 +0300 |
commit | d9a9dd77c56075bbb687bae19e2371a8c9e18de6 (patch) | |
tree | 2d4619085565cf0e6eddcb389dd33a5c6ce64eb3 | |
parent | 46f0ef1f0b6d3e0911a01750be53776a75eeb1ba (diff) |
Cleanup: Left over from review of apply transform
I miss the review notes about this for the
8621fdb10dc402eeff5aa996eeb992a513afd4c0 commit.
-rw-r--r-- | source/blender/editors/object/object_transform.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/object/object_transform.cc b/source/blender/editors/object/object_transform.cc index e279ebbb02e..36d70eeef64 100644 --- a/source/blender/editors/object/object_transform.cc +++ b/source/blender/editors/object/object_transform.cc @@ -621,7 +621,7 @@ static bool apply_objects_internal_can_multiuser(bContext *C) } /** - * Check if the current selection need to be made into single user + * Check if the current selection need to be made into single user. * * It assumes that all selected objects share the same object data. */ @@ -648,10 +648,10 @@ static int apply_objects_internal(bContext *C, Depsgraph *depsgraph = CTX_data_ensure_evaluated_depsgraph(C); float rsmat[3][3], obmat[3][3], iobmat[3][3], mat[4][4], scale; bool changed = true; - bool do_multi_user = apply_objects_internal_can_multiuser(C); + bool const do_multi_user = apply_objects_internal_can_multiuser(C); float obact_invmat[4][4], obact_parent[4][4], obact_parentinv[4][4]; - /* Only used when do_multi_user is set .*/ + /* Only used when do_multi_user is set. */ Object *obact = NULL; bool make_single_user = false; |