Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonioya <blendergit@gmail.com>2019-03-12 12:23:33 +0300
committerAntonioya <blendergit@gmail.com>2019-03-12 12:23:33 +0300
commit55824525670e068b503aa1f094ca3b5f23ab7257 (patch)
tree87dd224a8172dfa1e831c98a3a42adfda73d09ab /source/blender/draw/engines/gpencil/gpencil_engine.h
parent784f7cb6ca6a69b28f2b49bdc4cd2fa498bc14df (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.h1
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 {