summaryrefslogtreecommitdiffstats
path: root/editor/plugins/material_editor_plugin.h
diff options
context:
space:
mode:
authorMax Hilbrunner <mhilbrunner@users.noreply.github.com>2023-05-03 20:07:00 +0200
committerGitHub <noreply@github.com>2023-05-03 20:07:00 +0200
commit2816825e44218fbf35c57b1d771edcc474f3db27 (patch)
tree1498d6da3ba66a2a92d80cd0d76346d82fc032fb /editor/plugins/material_editor_plugin.h
parentf0080279d31acec4d67904d20192d6d6a67287ad (diff)
parentd3792a237331f56efdb36b1753f171ddc99629db (diff)
downloadredot-engine-2816825e44218fbf35c57b1d771edcc474f3db27.tar.gz
Merge pull request #76555 from Tetane/master
Fix 2D shader preview draws over uniform
Diffstat (limited to 'editor/plugins/material_editor_plugin.h')
-rw-r--r--editor/plugins/material_editor_plugin.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/plugins/material_editor_plugin.h b/editor/plugins/material_editor_plugin.h
index deb1211c54..ac81bdc7c7 100644
--- a/editor/plugins/material_editor_plugin.h
+++ b/editor/plugins/material_editor_plugin.h
@@ -51,6 +51,8 @@ class MaterialEditor : public Control {
Vector2 rot;
+ SubViewportContainer *vc_2d = nullptr;
+ SubViewport *viewport_2d = nullptr;
HBoxContainer *layout_2d = nullptr;
ColorRect *rect_instance = nullptr;