summaryrefslogtreecommitdiffstats
path: root/scene/animation/animation_mixer.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/animation/animation_mixer.h')
-rw-r--r--scene/animation/animation_mixer.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/scene/animation/animation_mixer.h b/scene/animation/animation_mixer.h
index 53eacbf8e8..6aa050d1fb 100644
--- a/scene/animation/animation_mixer.h
+++ b/scene/animation/animation_mixer.h
@@ -46,11 +46,12 @@ class AnimationMixer : public Node {
GDCLASS(AnimationMixer, Node);
#ifdef TOOLS_ENABLED
friend AnimatedValuesBackup;
- bool reset_on_save = true;
bool editing = false;
bool dummy = false;
#endif // TOOLS_ENABLED
+ bool reset_on_save = true;
+
public:
enum AnimationCallbackModeProcess {
ANIMATION_CALLBACK_MODE_PROCESS_PHYSICS,
@@ -346,6 +347,9 @@ public:
virtual void advance(double p_time);
virtual void clear_caches(); ///< must be called by hand if an animation was modified after added
+ void set_reset_on_save_enabled(bool p_enabled);
+ bool is_reset_on_save_enabled() const;
+
#ifdef TOOLS_ENABLED
void set_editing(bool p_editing);
bool is_editing() const;
@@ -353,8 +357,6 @@ public:
void set_dummy(bool p_dummy);
bool is_dummy() const;
- void set_reset_on_save_enabled(bool p_enabled);
- bool is_reset_on_save_enabled() const;
bool can_apply_reset() const;
void _build_backup_track_cache();
Ref<AnimatedValuesBackup> make_backup();