Multi object edit - UV_OT_pin
Details
Details
- Reviewers
Campbell Barton (campbellbarton) Dalai Felinto (dfelinto) - Maniphest Tasks
- T54645: Multi-Object-Mode: EditMesh UV Tools
Diff Detail
Diff Detail
- Repository
- rB Blender
Event Timeline
Comment Actions
Replaced
BKE_view_layer_array_from_objects_in_edit_mode_unique_data(
with
BKE_view_layer_array_from_objects_in_edit_mode_unique_data_with_uvs(
.
Comment Actions
Also I sugest you to use Arcanist for your diffs it will be esasier for you to do changes:
https://wiki.blender.org/index.php/Dev:Doc/Tools/Code_Review#Use_Arcanist
| source/blender/editors/uvedit/uvedit_ops.c | ||
|---|---|---|
| 3672 | MEM_freeN(objects); | |
| 3672 | MEM_freeN(objects); | |
| source/blender/editors/uvedit/uvedit_ops.c | ||
|---|---|---|
| 3670 | Should only add notifier if a change is made. | |
Comment Actions
Added code so WM_event_add_notifier(..) is only called for an object when the pinned status of any of its uvs changes.
Comment Actions
Thanks for the patch.
I committed a different version on rB0f50caf5560f9c2f9af393eefdf2b209210dbfba.