Blender Git Loki

Git Commits -> Revision a016ad2

Revision a016ad2 by Brecht Van Lommel (master)
March 28, 2019, 19:02 (GMT)
Fix part of T60735: invalid CD_ORIGINDEX data in some modifier stack evaluations.

BKE_mesh_new_nomain automatically added a CD_ORIGINDEX layer initialized to 0,
which was never filled in correctly. In 2.7 the equivalent function used to
modify the source derivedmesh and add valid original indices to it, but this
is no longer possible in the new design and was quite unpredictable anyway.

Now instead rely on mesh_calc_modifiers and the depsgraph to determine when
CD_ORIGINDEX should be added.

Commit Details:

Full Hash: a016ad2ea8d718a8f48be841fe463bc5a54e3be8
Parent Commit: 0680525
Lines Changed: +5, -20

3 Modified Paths:

/source/blender/blenkernel/intern/mesh.c (+0, -14) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_relations.cc (+5, -0) (Diff)
/source/blender/modifiers/intern/MOD_ocean.c (+0, -6) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021