Merge pull request #57925 from akien-mga/shaderglobalsoverride-out-of-tree
This commit is contained in:
commit
3bcd3ee10d
1 changed files with 1 additions and 0 deletions
|
@ -221,6 +221,7 @@ void ShaderGlobalsOverride::_get_property_list(List<PropertyInfo> *p_list) const
|
|||
}
|
||||
|
||||
void ShaderGlobalsOverride::_activate() {
|
||||
ERR_FAIL_NULL(get_tree());
|
||||
List<Node *> nodes;
|
||||
get_tree()->get_nodes_in_group(SceneStringNames::get_singleton()->shader_overrides_group_active, &nodes);
|
||||
if (nodes.size() == 0) {
|
||||
|
|
Loading…
Reference in a new issue