diff options
author | Muller-Castro <37383316+Muller-Castro@users.noreply.github.com> | 2019-08-05 18:22:40 -0300 |
---|---|---|
committer | Muller-Castro <37383316+Muller-Castro@users.noreply.github.com> | 2019-08-06 17:40:47 -0300 |
commit | ffacd0a1487dcfcc83ee6d3f9928418f640622b7 (patch) | |
tree | 675ed1d237d7fa01d3b775124bdeacdf791fa502 | |
parent | fa35a73f0aa914ad282a0b9878ef485152521f40 (diff) |
Removed unnecessary reassigns
Those assignments are duplicated since add_to_group() or remove_from_group() aren't changing the state of those members.
-rw-r--r-- | scene/main/node.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/scene/main/node.cpp b/scene/main/node.cpp index caa0da5d1f..9e14144323 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"); } |