Merge pull request #111504 from HolonProduction/rm-enter-world-virtual
Remove undocumented script only enter_world callbacks
This commit is contained in:
@@ -252,10 +252,6 @@ void Node3D::_notification(int p_what) {
|
||||
|
||||
ERR_FAIL_NULL(data.viewport);
|
||||
|
||||
if (get_script_instance()) {
|
||||
get_script_instance()->call(SNAME("_enter_world"));
|
||||
}
|
||||
|
||||
#ifdef TOOLS_ENABLED
|
||||
if (is_part_of_edited_scene() && !data.gizmos_requested) {
|
||||
data.gizmos_requested = true;
|
||||
@@ -271,10 +267,6 @@ void Node3D::_notification(int p_what) {
|
||||
clear_gizmos();
|
||||
#endif
|
||||
|
||||
if (get_script_instance()) {
|
||||
get_script_instance()->call(SNAME("_exit_world"));
|
||||
}
|
||||
|
||||
data.viewport = nullptr;
|
||||
data.inside_world = false;
|
||||
} break;
|
||||
|
||||
Reference in New Issue
Block a user