diff options
Diffstat (limited to 'editor/plugins/texture_layered_editor_plugin.h')
-rw-r--r-- | editor/plugins/texture_layered_editor_plugin.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/editor/plugins/texture_layered_editor_plugin.h b/editor/plugins/texture_layered_editor_plugin.h index 83729f922e..900ba94c6d 100644 --- a/editor/plugins/texture_layered_editor_plugin.h +++ b/editor/plugins/texture_layered_editor_plugin.h @@ -54,24 +54,28 @@ class TextureLayeredEditor : public Control { bool setting = false; void _make_shaders(); - void _update_material(); + void _update_material(bool p_texture_changed); void _layer_changed(double) { if (!setting) { - _update_material(); + _update_material(false); } } + void _texture_changed(); void _texture_rect_update_area(); void _texture_rect_draw(); + void _update_gui(); + protected: void _notification(int p_what); virtual void gui_input(const Ref<InputEvent> &p_event) override; public: void edit(Ref<TextureLayered> p_texture); + TextureLayeredEditor(); ~TextureLayeredEditor(); }; |