Blender Git Loki

Git Commits -> Revision faf4509

Revision faf4509 by Antonio Vazquez (master)
February 5, 2021, 18:15 (GMT)
GPencil: New python API to force stroke triangulation data update

In some python scripts, the coordinates of the points are manipulated, but there are no way to force the recalculation and need hack to force the refresh.

The new api allows to call to the refresh function directly.

example: `gp_stroke.points.update()`

Commit Details:

Full Hash: faf45091b454bb99089e82533b12b549efb1a5c7
Parent Commit: 5dc87a3
Lines Changed: +19, -0

1 Modified Path:

/source/blender/makesrna/intern/rna_gpencil.c (+19, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021