GP: Primitive: Fix flickering when using a noise brush
authorCharlie Jolly <mistajolly@gmail.com>
Tue, 18 Dec 2018 15:51:46 +0000 (15:51 +0000)
committerCharlie Jolly <mistajolly@gmail.com>
Tue, 18 Dec 2018 15:51:46 +0000 (15:51 +0000)
commit12d6c138999bd6e3637af773c44155f3e1c3b67d
tree7c4efae356d2e103d65ba238b4748eedcb1a79dc
parente62368e6c435dad23a0d47016fcbfc65fce8d62b
GP: Primitive: Fix flickering when using a noise brush

Previously, the random values were generated every draw, now they are generated once.
source/blender/editors/gpencil/gpencil_primitive.c
source/blender/editors/include/ED_gpencil.h