diff options
author | Clay John <claynjohn@gmail.com> | 2022-08-18 14:14:12 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-18 14:14:12 -0600 |
commit | d60db2dba884ba0dc97755bd01ea40f2a18e547b (patch) | |
tree | 9f6ae2b4e0525756473f326404e04158e2a5dcd5 /editor/plugins/visual_shader_editor_plugin.h | |
parent | ca7437042ea96bdf31662896747167fb140914d9 (diff) | |
parent | 4396f03b70a22ebcb73a75be2b709a2568b64c43 (diff) |
Merge pull request #64468 from aaronfranke/editor-prop-visual-shader-mode
Rename `EditorPropertyShaderMode` to `EditorPropertyVisualShaderMode`
Diffstat (limited to 'editor/plugins/visual_shader_editor_plugin.h')
-rw-r--r-- | editor/plugins/visual_shader_editor_plugin.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/editor/plugins/visual_shader_editor_plugin.h b/editor/plugins/visual_shader_editor_plugin.h index b846c34f9e..b6a3b43754 100644 --- a/editor/plugins/visual_shader_editor_plugin.h +++ b/editor/plugins/visual_shader_editor_plugin.h @@ -529,8 +529,8 @@ public: virtual Control *create_editor(const Ref<Resource> &p_parent_resource, const Ref<VisualShaderNode> &p_node) override; }; -class EditorPropertyShaderMode : public EditorProperty { - GDCLASS(EditorPropertyShaderMode, EditorProperty); +class EditorPropertyVisualShaderMode : public EditorProperty { + GDCLASS(EditorPropertyVisualShaderMode, EditorProperty); OptionButton *options = nullptr; void _option_selected(int p_which); @@ -542,11 +542,11 @@ public: void setup(const Vector<String> &p_options); virtual void update_property() override; void set_option_button_clip(bool p_enable); - EditorPropertyShaderMode(); + EditorPropertyVisualShaderMode(); }; -class EditorInspectorShaderModePlugin : public EditorInspectorPlugin { - GDCLASS(EditorInspectorShaderModePlugin, EditorInspectorPlugin); +class EditorInspectorVisualShaderModePlugin : public EditorInspectorPlugin { + GDCLASS(EditorInspectorVisualShaderModePlugin, EditorInspectorPlugin); public: virtual bool can_handle(Object *p_object) override; |