summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-08-07 15:23:38 +0200
committerGitHub <noreply@github.com>2019-08-07 15:23:38 +0200
commit05d58a4e6a7c6f88ff98b887c63246b7cde6817d (patch)
tree6af97a936601850b5b5ed8b00a102da4f09f9ff8
parent7b514d920dbcb2a6f4317c0e95f0884abde58342 (diff)
parentffacd0a1487dcfcc83ee6d3f9928418f640622b7 (diff)
Merge pull request #31122 from Muller-Castro/enhancement
Unnecessary reassignments
-rw-r--r--scene/main/node.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/scene/main/node.cpp b/scene/main/node.cpp
index bfb4881843..f96e7a043d 100644
--- a/scene/main/node.cpp
+++ b/scene/main/node.cpp
@@ -408,7 +408,6 @@ void Node::set_physics_process(bool p_process) {
else
remove_from_group("physics_process");
- data.physics_process = p_process;
_change_notify("physics_process");
}
@@ -429,7 +428,6 @@ void Node::set_physics_process_internal(bool p_process_internal) {
else
remove_from_group("physics_process_internal");
- data.physics_process_internal = p_process_internal;
_change_notify("physics_process_internal");
}
@@ -811,7 +809,6 @@ void Node::set_process(bool p_idle_process) {
else
remove_from_group("idle_process");
- data.idle_process = p_idle_process;
_change_notify("idle_process");
}
@@ -832,7 +829,6 @@ void Node::set_process_internal(bool p_idle_process_internal) {
else
remove_from_group("idle_process_internal");
- data.idle_process_internal = p_idle_process_internal;
_change_notify("idle_process_internal");
}