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
commit 2f52d73c21
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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);
}