summaryrefslogtreecommitdiffstats
path: root/editor/plugins/texture_layered_editor_plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'editor/plugins/texture_layered_editor_plugin.h')
-rw-r--r--editor/plugins/texture_layered_editor_plugin.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/editor/plugins/texture_layered_editor_plugin.h b/editor/plugins/texture_layered_editor_plugin.h
index 39cbb32d16..ea807c0080 100644
--- a/editor/plugins/texture_layered_editor_plugin.h
+++ b/editor/plugins/texture_layered_editor_plugin.h
@@ -51,21 +51,21 @@ class TextureLayeredEditor : public Control {
float y_rot = 0;
Control *texture_rect = nullptr;
- void _make_shaders();
+ bool setting = false;
+ void _make_shaders();
void _update_material();
- bool setting;
+
void _layer_changed(double) {
if (!setting) {
_update_material();
}
}
+ void _texture_changed();
void _texture_rect_update_area();
void _texture_rect_draw();
- void _texture_changed();
-
protected:
void _notification(int p_what);
virtual void gui_input(const Ref<InputEvent> &p_event) override;