GP: Display Stroke for Fill Alt mode always
When use the Alt mode to draw close strokes, if the color had the stroke diabled, the stroke was not visiblle while drawing. Now, it's visible while drawing, but it's hidden again when the stoke is finished. To display close strokes, enable stroke mode in material or enter in edit mode.
This commit is contained in:
parent
8102200006
commit
8ba86020cc
Notes:
blender-bot
2023-02-14 11:29:52 +01:00
Referenced by issue #60647, regression - corruption of files Referenced by issue #60607, The tool system's "Spin" and "Spin (Duplicate)" operators are the same Referenced by issue #60578, Crash selecting vertex after hiding portion of mesh Referenced by issue #60579, 3D viewport perfomrance lag with shrinkwrap modifier, lengthy explanation and video Referenced by issue #60576, Cycles slow render start with GTX 2070
|
@ -1208,7 +1208,10 @@ void DRW_gpencil_populate_buffer_strokes(GPENCIL_e_data *e_data, void *vedata, T
|
|||
gpd, lthick);
|
||||
}
|
||||
|
||||
if (gp_style->flag & GP_STYLE_STROKE_SHOW) {
|
||||
/* No fill strokes, must show stroke always */
|
||||
if ((gp_style->flag & GP_STYLE_STROKE_SHOW) ||
|
||||
(gpd->runtime.sbuffer_sflag & GP_STROKE_NOFILL))
|
||||
{
|
||||
DRW_shgroup_call_add(
|
||||
stl->g_data->shgrps_drawing_stroke,
|
||||
e_data->batch_buffer_stroke,
|
||||
|
|
Loading…
Reference in New Issue