1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-06 12:20:30 +00:00

Merge pull request #31925 from bojidar-bg/31855-overriden-properties-docs

Add overriden properties to the documentation
This commit is contained in:
Rémi Verschelde
2019-09-24 11:53:43 +02:00
committed by GitHub
112 changed files with 310 additions and 56 deletions

View File

@@ -4061,7 +4061,10 @@ void _update_all_gizmos(Node *p_node) {
}
void SpatialEditor::update_all_gizmos(Node *p_node) {
if (!p_node) p_node = SceneTree::get_singleton()->get_root();
if (!p_node) {
if (!SceneTree::get_singleton()) return;
p_node = SceneTree::get_singleton()->get_root();
}
_update_all_gizmos(p_node);
}