瀏覽代碼

small fix

Juan Linietsky 9 年之前
父節點
當前提交
4290a25bd5
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tools/editor/animation_editor.cpp

+ 1 - 1
tools/editor/animation_editor.cpp

@@ -3489,7 +3489,7 @@ void AnimationKeyEditor::_step_changed(float p_len) {
 	updating=true;
 	if (!animation.is_null()) {
 		animation->set_step(p_len);
-		emit_signal("animation_step_changed",animation->get_length());
+		emit_signal("animation_step_changed",animation->get_step());
 	}
 	updating=false;
 }