Page MenuHome

Multi object edit: Added MESH_OT_vert_connect_path
ClosedPublic

Authored by Falk David (filedescriptor) on May 12 2018, 1:05 AM.

Diff Detail

Repository
rB Blender
Branch
multi_object_editing_vert_connect_path (branched from blender2.8)
Build Status
Buildable 1552
Build 1552: arc lint + arc unit

Event Timeline

Falk David (filedescriptor) retitled this revision from Rebased and cleanup to Multi object edit: Added MESH_OT_vert_connect_path.May 12 2018, 1:07 AM
Dalai Felinto (dfelinto) requested changes to this revision.May 14 2018, 12:37 PM

See in-line suggestions.

By the way, if you don't mind exposing your email address and you setup your git to use your real full name I can commit your patches preserving your name/email in the final commit.

source/blender/editors/mesh/editmesh_tools.c
1097

Make it a bool and return true/false.
Otherwise your if (!bm_connect_vert_pair(em, op)) { calls will all fail since OPERATOR_CANCELLED is not 0.

1465

You shouldn't report an error for every object of the loop. It should be reported only if they all fail for the same reason.

This revision now requires changes to proceed.May 14 2018, 12:37 PM

Moved error report outside of loop over objects.

Falk David (filedescriptor) marked 2 inline comments as done.May 14 2018, 3:03 PM

I also added a "Could not connect vertices" error message.

This revision was not accepted when it landed; it landed in state Needs Review.May 14 2018, 3:59 PM
This revision was automatically updated to reflect the committed changes.

Thanks, committed with changes.