diff options
author | Antonioya <blendergit@gmail.com> | 2019-03-12 12:23:33 +0300 |
---|---|---|
committer | Antonioya <blendergit@gmail.com> | 2019-03-12 12:23:33 +0300 |
commit | 55824525670e068b503aa1f094ca3b5f23ab7257 (patch) | |
tree | 87dd224a8172dfa1e831c98a3a42adfda73d09ab /source/blender/draw/engines/gpencil/gpencil_engine.h | |
parent | 784f7cb6ca6a69b28f2b49bdc4cd2fa498bc14df (diff) |
GPencil: Set wire mode when object is set to wire
When the object view is set to Wireframe, the display must be set as wireframe view with x-ray on.
Now the x-ray switch is handled by object.
Diffstat (limited to 'source/blender/draw/engines/gpencil/gpencil_engine.h')
-rw-r--r-- | source/blender/draw/engines/gpencil/gpencil_engine.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/draw/engines/gpencil/gpencil_engine.h b/source/blender/draw/engines/gpencil/gpencil_engine.h index fc45463fa1a..860dd728805 100644 --- a/source/blender/draw/engines/gpencil/gpencil_engine.h +++ b/source/blender/draw/engines/gpencil/gpencil_engine.h @@ -124,6 +124,7 @@ typedef struct GPENCIL_shgroup { float wire_color[4]; /* shading type and mode */ int shading_type[2]; + int is_xray; } GPENCIL_shgroup; typedef struct GPENCIL_Storage { |