Blender Git Commit Log
Git Commits -> Revision 56360a3
Revision 56360a3 by Joshua Leung (master) August 26, 2016, 04:15 (GMT) |
GPencil RNA: Set pressure and strength to 1.0 by default for new stroke points added via stroke.points.add() This commit adds optional "pressure" and "strength" arguments to the stroke.points.add() method. These are given default values of 1.0, so that old scripts can be ported over to the new API with less effort while reducing confusion about why auto generated strokes won't appear. |
Commit Details:
Full Hash: 56360a3ddf5cb2f10b2613dfa0e5d7bb77d4891d
Parent Commit: 50a44ed
Lines Changed: +15, -2
1 Modified Path:
/source/blender/makesrna/intern/rna_gpencil.c (+15, -2) (Diff)