summaryrefslogtreecommitdiffstats
path: root/editor/plugins/texture_3d_editor_plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'editor/plugins/texture_3d_editor_plugin.h')
-rw-r--r--editor/plugins/texture_3d_editor_plugin.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/editor/plugins/texture_3d_editor_plugin.h b/editor/plugins/texture_3d_editor_plugin.h
index bec3305289..2509cf86ba 100644
--- a/editor/plugins/texture_3d_editor_plugin.h
+++ b/editor/plugins/texture_3d_editor_plugin.h
@@ -49,21 +49,21 @@ class Texture3DEditor : public Control {
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);