Blender Git Commit Log

Git Commits -> Revision c7bbcfe

Revision c7bbcfe by Dalai Felinto (master)
October 12, 2018, 17:42 (GMT)
Multi-Objects: POSE_OT_autoside_names

Using CTX_DATA_BEGIN_WITH_ID here.

Unlike the edit mode counter-part this operator is well served with the
macro above. ARMATURE_OT_autoside_names needs to treat mirrored bones
separately, while for pose we don't handle those cases.

Be ware that using this macro makes the code smaller, however it also
tags every single (selected) pose to update, regardless of whether we
changed the names of the bones.

In this case it is fine since we most likely renamed all the bones.
But In other cases I'm still a bit wary of using CTX_DATA_BEGIN_WITH_ID
instead of BKE_view_layer_array_from_objects_in_mode_unique_data.

To be seen in upcoming commits. Stay tuned.

Commit Details:

Full Hash: c7bbcfe95444e730eacf655fd982f5091d5e2ff6
Parent Commit: 2677e99
Lines Changed: +14, -15

1 Modified Path:

/source/blender/editors/armature/pose_edit.c (+14, -15) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021