diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2018-12-22 03:52:37 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2018-12-22 03:52:47 +0300 |
commit | dafaa6f22881419ac55f2f3fe3de9ac4023aa108 (patch) | |
tree | bb30dedfb7859d6b60c0d17443fa2df485d85f58 /source/blender/editors/gpencil | |
parent | a451d4abbc1c9e1158338da3806f30ae0d15fd7b (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')
0 files changed, 0 insertions, 0 deletions