summaryrefslogtreecommitdiffstats
path: root/editor/plugins/spatial_editor_plugin.h
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2018-08-17 23:21:08 +0200
committerHugo Locurcio <hugo.locurcio@hugo.pro>2018-08-17 23:22:03 +0200
commit442029b1c0fc4d31503a2c4640712d488cbb594a (patch)
tree40ad9cc63891461d0e34fadd97170074b1f47821 /editor/plugins/spatial_editor_plugin.h
parentc93888ae71bcc2b633f335b407c75412a493012d (diff)
downloadredot-engine-442029b1c0fc4d31503a2c4640712d488cbb594a.tar.gz
Fix the 3D grid flickering when the origin is enabled
Diffstat (limited to 'editor/plugins/spatial_editor_plugin.h')
-rw-r--r--editor/plugins/spatial_editor_plugin.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/plugins/spatial_editor_plugin.h b/editor/plugins/spatial_editor_plugin.h
index 4057145c2f..5850c0dbf1 100644
--- a/editor/plugins/spatial_editor_plugin.h
+++ b/editor/plugins/spatial_editor_plugin.h
@@ -508,6 +508,7 @@ private:
RID origin;
RID origin_instance;
+ bool origin_enabled;
RID grid[3];
RID grid_instance[3];
bool grid_visible[3]; //currently visible