small fixes
This commit is contained in:
parent
5900e7f589
commit
0e1510214a
|
@ -2,3 +2,4 @@
|
|||
|
||||
name="Motion Test"
|
||||
main_scene="res://motion.scn"
|
||||
|
||||
|
|
|
@ -1320,8 +1320,8 @@ bool Main::iteration() {
|
|||
double step=(double)ticks_elapsed / 1000000.0;
|
||||
float frame_slice=1.0/OS::get_singleton()->get_iterations_per_second();
|
||||
|
||||
//if (time_accum+step < frame_slice)
|
||||
// return false;
|
||||
// if (time_accum+step < frame_slice)
|
||||
// return false;
|
||||
|
||||
frame+=ticks_elapsed;
|
||||
|
||||
|
|
|
@ -223,7 +223,7 @@ void AnimationPlayer::_notification(int p_what) {
|
|||
} break;
|
||||
case NOTIFICATION_EXIT_TREE: {
|
||||
|
||||
stop_all();
|
||||
//stop_all();
|
||||
clear_caches();
|
||||
} break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue