diff options
author | Marc Gilleron <marc.gilleron@gmail.com> | 2022-09-19 16:43:15 +0100 |
---|---|---|
committer | Marc Gilleron <marc.gilleron@gmail.com> | 2022-09-19 16:43:15 +0100 |
commit | aed3822a93a54e285bfb711ff91b4cb86ea94841 (patch) | |
tree | 5b2ce97169ae411015041e35005984d9cc5762b9 /scene/main/shader_globals_override.cpp | |
parent | 908795301b9e4fcf24b115329a48d7d295c13a1a (diff) |
Change return type of `get_configuration_warnings` to `PackedStringArray`
Diffstat (limited to 'scene/main/shader_globals_override.cpp')
-rw-r--r-- | scene/main/shader_globals_override.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/main/shader_globals_override.cpp b/scene/main/shader_globals_override.cpp index 13034c5447..455b8c6866 100644 --- a/scene/main/shader_globals_override.cpp +++ b/scene/main/shader_globals_override.cpp @@ -271,8 +271,8 @@ void ShaderGlobalsOverride::_notification(int p_what) { } } -TypedArray<String> ShaderGlobalsOverride::get_configuration_warnings() const { - TypedArray<String> warnings = Node::get_configuration_warnings(); +PackedStringArray ShaderGlobalsOverride::get_configuration_warnings() const { + PackedStringArray warnings = Node::get_configuration_warnings(); if (!active) { warnings.push_back(RTR("ShaderGlobalsOverride is not active because another node of the same type is in the scene.")); |