Renamed fixed_process to physics_process

This commit is contained in:
AndreaCatania 2017-09-30 16:19:07 +02:00
parent 4f39ce32b9
commit 4537977d6d
75 changed files with 296 additions and 296 deletions

View file

@ -2585,10 +2585,10 @@ void PropertyEditor::_notification(int p_what) {
}
}
if (p_what == NOTIFICATION_FIXED_PROCESS) {
if (p_what == NOTIFICATION_PHYSICS_PROCESS) {
if (refresh_countdown > 0) {
refresh_countdown -= get_fixed_process_delta_time();
refresh_countdown -= get_physics_process_delta_time();
if (refresh_countdown <= 0) {
TreeItem *root = tree->get_root();
_refresh_item(root);
@ -4227,7 +4227,7 @@ PropertyEditor::PropertyEditor() {
tree->set_drag_forwarding(this);
set_fixed_process(true);
set_physics_process(true);
custom_editor = memnew(CustomPropertyEditor);
add_child(custom_editor);