aboutsummaryrefslogtreecommitdiff
path: root/editor/property_editor.cpp
diff options
context:
space:
mode:
authorAndreas Haas2017-10-02 23:10:36 +0200
committerGitHub2017-10-02 23:10:36 +0200
commit5303efb2fabd668bef18b7ac7606426692e5d6bb (patch)
treeb699146047e60501afbfa09c36161d8ae408a223 /editor/property_editor.cpp
parent1e9465096d9c738057aad81d5046b85777155f87 (diff)
parent4537977d6dd2a76580d9ab611a18634efab55c74 (diff)
downloadgodot-5303efb2fabd668bef18b7ac7606426692e5d6bb.tar.gz
godot-5303efb2fabd668bef18b7ac7606426692e5d6bb.tar.zst
godot-5303efb2fabd668bef18b7ac7606426692e5d6bb.zip
Merge pull request #11659 from AndreaCatania/prephysics
Renamed fixed_process to physics_process
Diffstat (limited to 'editor/property_editor.cpp')
-rw-r--r--editor/property_editor.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/editor/property_editor.cpp b/editor/property_editor.cpp
index 1b8a48586..47ebf49c4 100644
--- a/editor/property_editor.cpp
+++ b/editor/property_editor.cpp
@@ -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);