Add overriden properties to the documentation

Fixes #31855
This commit is contained in:
Bojidar Marinov
2019-09-03 13:42:34 +03:00
parent 037237f518
commit 6c4407bae4
11 changed files with 99 additions and 51 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);
}