Blender Git Commit Log

Git Commits -> Revision 930d007

Revision 930d007 by Antonio Vazquez (master)
February 26, 2019, 19:28 (GMT)
Fix T61956: Errors when instancing grease pencil objects

The problem was not only for instances, but for particles too, and produced segment fault.

For some reason due any internal modification of how duplicated objects are generated, the duplicated object are not available when the draw manager try to use runtime data.

Now, before drawing the particle or the instance, the pointers of the duplicated objects are reassigned to the original "real object" to get full access to runtime data.

Commit Details:

Full Hash: 930d0070b6fd337fc059ea9e486e598831ed28ab
Parent Commit: 92766fb
Lines Changed: +27, -0

3 Modified Paths:

/source/blender/draw/engines/gpencil/gpencil_cache_utils.c (+2, -0) (Diff)
/source/blender/draw/engines/gpencil/gpencil_engine.c (+24, -0) (Diff)
/source/blender/draw/engines/gpencil/gpencil_engine.h (+1, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021