Merge pull request #11659 from AndreaCatania/prephysics

Renamed fixed_process to physics_process
This commit is contained in:
Andreas Haas 2017-10-02 23:10:36 +02:00 committed by GitHub
commit 5303efb2fa
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);