Details
Details
- Reviewers
Campbell Barton (campbellbarton) Dalai Felinto (dfelinto) - Maniphest Tasks
- T54643: Multi-Object-Mode: EditMesh Tools
Diff Detail
Diff Detail
- Repository
- rB Blender
Event Timeline
Comment Actions
The patch needs the following changes:
- Move RNA_int_get outside the for loop.
- Continue the for loop when there is less than 2 selected vertices.
And you shouldn't print the error message (BKE_report) for every object. It should be printed only if the operator fails for all of them and for that particular reason.
Comment Actions
Fix the recommended instructions.
- RNA_*get* calls out of loop
- Continue when total vertices < 2
- Report the same errors when all objects with at least one vertex selected failed for the same reason.
(e.x. when we have 2 Objects in edit mode and only one has some selections that are invalid we need to throw the error otherwise it will be confusing with bad consistency)
Comment Actions
Ops tagged the wrong patch during commit. This was committed on: rBbadd88ca024c78b5d64579404f95abf2103f7b25