Blender Git Loki

Git Commits -> Revision ae4098e

Revision ae4098e by Antonio Vazquez (master)
July 15, 2020, 15:26 (GMT)
GPencil: Fix unreported error baking mesh animation

When the mesh is linked, the materials can not be available or be the same assigned to mesh. Now, if the mesh is linked, a simple two materials conversion is used.

To get the full list of materials, the mesh must not be linked.

Also checked some indexes to be sure never get a wrong value and that materials are not created again and again.

Commit Details:

Full Hash: ae4098e234a0fd80c3a67d35bffa04708875f2e2
Parent Commit: 36e836d
Lines Changed: +48, -15

4 Modified Paths:

/source/blender/blenkernel/BKE_gpencil_geom.h (+2, -1) (Diff)
/source/blender/blenkernel/intern/gpencil_geom.c (+36, -10) (Diff)
/source/blender/editors/gpencil/gpencil_mesh.c (+8, -3) (Diff)
/source/blender/editors/object/object_add.c (+2, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021