Fix missing return after NULL check, from Coverity reports.

This commit is contained in:
2016-02-01 08:34:29 +01:00
parent 25f5fdc070
commit e43f08f6a2

View File

@@ -738,6 +738,7 @@ void RE_point_density_minmax(
if (object == NULL) {
zero_v3(r_min);
zero_v3(r_max);
return;
}
if (pd->source == TEX_PD_PSYS) {
ParticleSystem *psys;