summaryrefslogtreecommitdiffstats
path: root/editor/animation_track_editor.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2020-02-21 17:44:59 +0100
committerRémi Verschelde <rverschelde@gmail.com>2020-02-23 23:48:44 +0100
commit65429f11a6169d17048e99e0d4bddb2f4eaef6d0 (patch)
tree0790ce7042521f8cc30264d1162611811f466cd5 /editor/animation_track_editor.cpp
parent4b6c0560da066135aae9d6512f94770b6db99724 (diff)
downloadredot-engine-65429f11a6169d17048e99e0d4bddb2f4eaef6d0.tar.gz
Signals: Make callbacks non-const, callable_mp can't handle it
Diffstat (limited to 'editor/animation_track_editor.cpp')
-rw-r--r--editor/animation_track_editor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/animation_track_editor.cpp b/editor/animation_track_editor.cpp
index f5c7b91a99..b311ea1675 100644
--- a/editor/animation_track_editor.cpp
+++ b/editor/animation_track_editor.cpp
@@ -5707,7 +5707,7 @@ float AnimationTrackEditor::snap_time(float p_value, bool p_relative) {
return p_value;
}
-void AnimationTrackEditor::_show_imported_anim_warning() const {
+void AnimationTrackEditor::_show_imported_anim_warning() {
// It looks terrible on a single line but the TTR extractor doesn't support line breaks yet.
EditorNode::get_singleton()->show_warning(TTR("This animation belongs to an imported scene, so changes to imported tracks will not be saved.\n\nTo enable the ability to add custom tracks, navigate to the scene's import settings and set\n\"Animation > Storage\" to \"Files\", enable \"Animation > Keep Custom Tracks\", then re-import.\nAlternatively, use an import preset that imports animations to separate files."),