Blender Git Loki

Git Commits -> Revision 01c8aa1

Revision 01c8aa1 by Alexander Gavrilov (master)
July 8, 2020, 08:06 (GMT)
Apply Modifier: support applying as shape key and keeping the modifier.

This can be useful to save the result of a cloth simulation as a
shape key without destroying the simulation, so it's possible to
e.g. re-run it to get other shapes, or simply use the new shape
key to start the simulation already in a draped state.

It also makes sense to allow applying as shape key even when the
mesh is shared, because the operation itself just adds a shape
key. To support this, split the apply operator into Apply and
Apply As Shapekey so that they can have different poll callbacks.

Differential Revision: https://developer.blender.org/D8173

Commit Details:

Full Hash: 01c8aa12a17775cce03106a576f3c498d28131e4
Parent Commit: 7fcb6bc
Lines Changed: +102, -32

5 Modified Paths:

/source/blender/editors/include/ED_object.h (+2, -1) (Diff)
/source/blender/editors/object/object_intern.h (+1, -0) (Diff)
/source/blender/editors/object/object_modifier.c (+85, -25) (Diff)
/source/blender/editors/object/object_ops.c (+1, -0) (Diff)
/source/blender/modifiers/intern/MOD_ui_common.c (+13, -6) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021