summaryrefslogtreecommitdiff
path: root/editor/plugins/animation_state_machine_editor.h
diff options
context:
space:
mode:
authorSaracenOne <SaracenOne@gmail.com>2022-05-04 06:31:53 +0100
committerSaracenOne <SaracenOne@gmail.com>2022-08-25 16:29:36 +0100
commit75f1357ced3423d29efca6ff46eaf2ef3432bd73 (patch)
treef05387c3cc8cfed981f5007697d522f5893d25db /editor/plugins/animation_state_machine_editor.h
parentd0a2a4c98195eb8a43713286b5b865dfbed05163 (diff)
Add read-only mode to AnimationTreeEditor plugins
Diffstat (limited to 'editor/plugins/animation_state_machine_editor.h')
-rw-r--r--editor/plugins/animation_state_machine_editor.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/plugins/animation_state_machine_editor.h b/editor/plugins/animation_state_machine_editor.h
index fdd1af0f6d..3a59e94a5f 100644
--- a/editor/plugins/animation_state_machine_editor.h
+++ b/editor/plugins/animation_state_machine_editor.h
@@ -47,6 +47,8 @@ class AnimationNodeStateMachineEditor : public AnimationTreeNodeEditorPlugin {
Ref<AnimationNodeStateMachine> state_machine;
+ bool read_only = false;
+
Button *tool_select = nullptr;
Button *tool_create = nullptr;
Button *tool_connect = nullptr;