Page MenuHome

Multi-Object-Editing : Support for MESH_OT_screw
AbandonedPublic

Authored by Nick Milios (semaphore) on May 9 2018, 2:07 AM.

Diff Detail

Repository
rB Blender

Event Timeline

Dalai Felinto (dfelinto) requested changes to this revision.May 9 2018, 11:55 AM

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.

This revision now requires changes to proceed.May 9 2018, 11:55 AM

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)

Thanks, committed with a few changes.

Ops tagged the wrong patch during commit. This was committed on: rBbadd88ca024c78b5d64579404f95abf2103f7b25