mirror of
https://github.com/godotengine/godot.git
synced 2025-01-18 20:40:57 +08:00
Merge pull request #57925 from akien-mga/shaderglobalsoverride-out-of-tree
This commit is contained in:
commit
3bcd3ee10d
@ -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 New Issue
Block a user