Blender Git Loki

Git Commits -> Revision dafaa6f

Revision dafaa6f by Clément Foucault (master)
December 22, 2018, 00:45 (GMT)
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.

Commit Details:

Full Hash: dafaa6f22881419ac55f2f3fe3de9ac4023aa108
Parent Commit: a451d4a
Lines Changed: +13, -15

1 Modified Path:

/source/blender/editors/mesh/editmesh_knife.c (+13, -15) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021