Blender Git Commit Log

Git Commits -> Revision 36121a1

Revision 36121a1 by Antonio Vazquez (master)
December 20, 2018, 15:52 (GMT)
GP: Changes in API to make internal update

Now, the internal data is recalculated when add or remove a point.

The change in the API affect to stroke.points.add() that now requires a datablock parameter. This parameter is required to identify the datablock affected.

For example: stroke.points.add(gpencil, 1) instead of stroke.points.add(1)

This is the second try to fix T59600

Commit Details:

Full Hash: 36121a1bdcd8b0122996d9125e0cd4972dd51ff0
Parent Commit: d08db7a
Lines Changed: +27, -2

3 Modified Paths:

/source/blender/draw/engines/gpencil/gpencil_cache_utils.c (+4, -0) (Diff)
/source/blender/makesdna/DNA_gpencil_types.h (+2, -0) (Diff)
/source/blender/makesrna/intern/rna_gpencil.c (+21, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021