Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Foucault <foucault.clem@gmail.com>2018-12-22 03:52:37 +0300
committerClément Foucault <foucault.clem@gmail.com>2018-12-22 03:52:47 +0300
commitdafaa6f22881419ac55f2f3fe3de9ac4023aa108 (patch)
treebb30dedfb7859d6b60c0d17443fa2df485d85f58 /source/blender/editors/gpencil/gpencil_add_monkey.c
parenta451d4abbc1c9e1158338da3806f30ae0d15fd7b (diff)
Fix T59505: Knife tool cut preview line becomes black
The root of the problem is that KnifeTool_OpData->colors was not init in some cases. But the reason is unknown as it seems to be random and the init function was always called. So instead on init the color only once, we query the colors each time we draw the knife points. The overhead of this approach is negligeable.
Diffstat (limited to 'source/blender/editors/gpencil/gpencil_add_monkey.c')
0 files changed, 0 insertions, 0 deletions