aboutsummaryrefslogtreecommitdiff
path: root/tools/editor/animation_editor.cpp
diff options
context:
space:
mode:
authorJuan Linietsky2016-01-10 11:51:05 -0300
committerJuan Linietsky2016-01-10 11:51:05 -0300
commitcc34e0dee9e92468f9493d0001a296aa6bd08e6d (patch)
treef4b83ce7fdd04815b3563e04f7f5b6695b06d20e /tools/editor/animation_editor.cpp
parent6c8cf306978d694b51f3cdabea43a6774b1fc055 (diff)
downloadgodot-cc34e0dee9e92468f9493d0001a296aa6bd08e6d.tar.gz
godot-cc34e0dee9e92468f9493d0001a296aa6bd08e6d.tar.zst
godot-cc34e0dee9e92468f9493d0001a296aa6bd08e6d.zip
Make sure variant parser actually writes floats when float property is requested, closes #3301
Diffstat (limited to '')
-rw-r--r--tools/editor/animation_editor.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/editor/animation_editor.cpp b/tools/editor/animation_editor.cpp
index bf17b40f4..9a0dde783 100644
--- a/tools/editor/animation_editor.cpp
+++ b/tools/editor/animation_editor.cpp
@@ -1702,7 +1702,7 @@ bool AnimationKeyEditor::_edit_if_single_selection() {
if (selection.size()==0) {
curve_edit->set_mode(AnimationCurveEdit::MODE_DISABLED);
- print_line("disable");
+ //print_line("disable");
} else {
curve_edit->set_mode(AnimationCurveEdit::MODE_MULTIPLE);
@@ -1713,13 +1713,13 @@ bool AnimationKeyEditor::_edit_if_single_selection() {
curve_edit->set_multiple(animation->track_get_key_transition(E->key().track,E->key().key));
}
- print_line("multiple");
+ //print_line("multiple");
}
return false;
}
curve_edit->set_mode(AnimationCurveEdit::MODE_SINGLE);
- print_line("regular");
+ //print_line("regular");
int idx = selection.front()->key().track;
int key = selection.front()->key().key;