summaryrefslogtreecommitdiff
path: root/scene/resources/visual_shader.h
diff options
context:
space:
mode:
authorYuri Roubinski <chaosus89@gmail.com>2019-08-18 12:29:22 +0300
committerYuri Roubinski <chaosus89@gmail.com>2019-08-18 17:28:19 +0300
commit808e44df6d39aaf231341c50bacc646fa1f93915 (patch)
treecbac19a024d6d8007b1ae4d780bf13bdcb536e44 /scene/resources/visual_shader.h
parentcc9f2a2d8bf36e7244e7291ad7fdb32a3e3f2ef2 (diff)
Added code preview to visual shader
Diffstat (limited to 'scene/resources/visual_shader.h')
-rw-r--r--scene/resources/visual_shader.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/resources/visual_shader.h b/scene/resources/visual_shader.h
index a89e3295fc..951bd6f668 100644
--- a/scene/resources/visual_shader.h
+++ b/scene/resources/visual_shader.h
@@ -73,6 +73,7 @@ private:
} graph[TYPE_MAX];
Shader::Mode shader_mode;
+ mutable String previous_code;
Array _get_node_connections(Type p_type) const;