diff options
author | Antonio Vazquez <blendergit@gmail.com> | 2019-11-02 13:13:44 +0300 |
---|---|---|
committer | Antonio Vazquez <blendergit@gmail.com> | 2019-11-02 13:13:44 +0300 |
commit | 1c8d76772a84cb616c498ffbaf0a262086b0f8fa (patch) | |
tree | fd35e9714ade246a37be6a64f9357cb8a14a646c /source/blender/editors/gpencil/gpencil_utils.c | |
parent | 782f36d6a87eb622f6052be8ce49c380a6c78e84 (diff) |
GPencil: Fix unreported visual problem for short strokes
When the stroke has less than 3 points, but only the fill material is enabled, the stroke is invisible and makes the shaders to remove any fill because the shader start and end pointers are not correct.
Now, if the stroke has only fill, but it is not fillable, it is drawn with the stroke color to avoid the errors and these ghost strokes.
Diffstat (limited to 'source/blender/editors/gpencil/gpencil_utils.c')
0 files changed, 0 insertions, 0 deletions