Blender Git Loki

Git Commits -> Revision 09c1cb8

Revision 09c1cb8 by Falk David (master)
January 4, 2021, 14:34 (GMT)
Fix T84260: NURBS edit mode lines not showing

When in edit mode, the edit lines for de-selected surfaces did not
show up.

The bug was caused by the is_gpencil bool which reused another flag.
Both grease pencil and nurbs surfaces use the edit_curve_handle shader.
A dedicated flag was added to make sure the is_gpencil bool is
set correctly.

Reviewed By: fclem

Maniphest Tasks: T84260

Differential Revision: https://developer.blender.org/D9985

Commit Details:

Full Hash: 09c1cb8a17e4c1a0aeea0d5477ec2db61390a5e8
Parent Commit: c6e5b3f
Lines Changed: +11, -11

4 Modified Paths:

/source/blender/draw/engines/overlay/shaders/edit_curve_handle_geom.glsl (+2, -3) (Diff)
/source/blender/draw/intern/draw_cache_impl.h (+2, -0) (Diff)
/source/blender/draw/intern/draw_cache_impl_gpencil.c (+6, -7) (Diff)
/source/blender/draw/intern/shaders/common_globals_lib.glsl (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021