You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Change return type of get_configuration_warnings to PackedStringArray
This commit is contained in:
@@ -269,8 +269,8 @@ bool GPUParticles3D::get_interpolate() const {
|
||||
return interpolate;
|
||||
}
|
||||
|
||||
TypedArray<String> GPUParticles3D::get_configuration_warnings() const {
|
||||
TypedArray<String> warnings = GeometryInstance3D::get_configuration_warnings();
|
||||
PackedStringArray GPUParticles3D::get_configuration_warnings() const {
|
||||
PackedStringArray warnings = GeometryInstance3D::get_configuration_warnings();
|
||||
|
||||
if (RenderingServer::get_singleton()->is_low_end()) {
|
||||
warnings.push_back(RTR("GPU-based particles are not supported by the OpenGL video driver.\nUse the CPUParticles3D node instead. You can use the \"Convert to CPUParticles3D\" option for this purpose."));
|
||||
|
||||
Reference in New Issue
Block a user