From 9a77d748c0d4e1c3dceb40216b9a345073032361 Mon Sep 17 00:00:00 2001 From: qarmin Date: Sun, 7 Jul 2019 23:08:51 +0200 Subject: Fixes minor issues found by static analyzer --- scene/3d/particles.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scene/3d/particles.cpp') diff --git a/scene/3d/particles.cpp b/scene/3d/particles.cpp index 00a168fc39..a6ccdb5791 100644 --- a/scene/3d/particles.cpp +++ b/scene/3d/particles.cpp @@ -257,7 +257,7 @@ String Particles::get_configuration_warning() const { SpatialMaterial *spat = Object::cast_to(draw_passes[i]->surface_get_material(j).ptr()); anim_material_found = anim_material_found || (spat && spat->get_billboard_mode() == SpatialMaterial::BILLBOARD_PARTICLES); } - if (meshes_found && anim_material_found) break; + if (anim_material_found) break; } } -- cgit v1.2.3