Blender Git Loki

Blender Git "temp-modifier-rm-cddm" branch commits.

Page: 4 / 4

April 20, 2018, 08:10 (GMT)
remove debug prints and stuff
April 19, 2018, 15:20 (GMT)
Mesh deformation seems to be working
April 19, 2018, 10:46 (GMT)
Introdicing EditMeshData
April 19, 2018, 10:46 (GMT)
Operate on CoW mesh directly, only use DM when not NULL
April 19, 2018, 09:32 (GMT)
Modifiers: simple deform modifier object mode, DerivedMesh ? Mesh
April 18, 2018, 13:45 (GMT)
Modifiers: Add wrapper functions with Mesh / DerivedMesh conversion

Makes the follow changes:

- Add new `deform*` and `apply*` function pointers to `ModifierTypeInfo` that take `Mesh`, and rename the old functions to indicate that they take `DerivedMesh`. These new functions are currently set to `NULL` for all modifiers.
- Add wrapper `modifier_deform*` and `modifier_apply*` functions in two variants: one that works with `Mesh` and the other which works with `DerivedMesh` that is named with `*_DM_depercated`. These functions check which type of data the modifier supports and converts if necessary
- Update the rest of Blender to be aware and make use of these new functions

The goal of these changes is to make it possible to port to using `Mesh` incrementally without ever needing to enter into a state where modifiers don't work. After everything has been ported over the old functions and wrappers could be removed.

Reviewers: campbellbarton, sergey, mont29

Subscribers: sybren

Tags: #bf_blender_2.8

Differential Revision: https://developer.blender.org/D3155
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021