Page MenuHome

Multi-Object-Mode: MESH_OT_blend_from_shape
ClosedPublic

Authored by Habib Gahbiche (zazizizou) on Aug 28 2018, 7:26 PM.

Details

Summary

"Blend from Shape" lists keys from active object and applies to all selected objects that have keys with a matching name.

Also see discussion about operator's behaviour on blenderartists.org

Diff Detail

Repository
rB Blender
Branch
arcpatch-D3656 (branched from blender2.8)
Build Status
Buildable 1995
Build 1995: arc lint + arc unit

Event Timeline

coding style: replaced spaces with tabs

This revision was not accepted when it landed; it landed in state Needs Review.Aug 31 2018, 8:24 PM
This revision was automatically updated to reflect the committed changes.

Thanks for the patch. Committed with the following changes;

  • Move Object **objects after sanity check to prevent leak when returning OPERATOR_CANCELLED.
  • Skip objects that have no selected vertex.
  • Code Style. (refer to your previous patches for more details, but more than tabs and spaces, in this case here you were inlining } else { which should break in two lines, and we add spaces after if and for (and after their ).