1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-06 12:20:30 +00:00

-fixed bug on focus capture, now respets line/text edit

-when playing animations, property editor is now refreshed properly, fixes #1046
This commit is contained in:
Juan Linietsky
2015-01-03 15:39:01 -03:00
parent ffd4b22e09
commit 167c1027be
5 changed files with 84 additions and 2 deletions

View File

@@ -76,6 +76,8 @@ void AnimationPlayerEditor::_notification(int p_what) {
seek->set_val(player->get_current_animation_pos());
if (edit_anim->is_pressed())
editor->get_animation_editor()->set_anim_pos(player->get_current_animation_pos());
EditorNode::get_singleton()->get_property_editor()->refresh();
} else if (last_active) {
//need the last frame after it stopped
@@ -854,6 +856,8 @@ void AnimationPlayerEditor::_animation_key_editor_seek(float p_pos) {
return;
seek->set_val(p_pos);
EditorNode::get_singleton()->get_property_editor()->refresh();
//seekit