Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2016-02-01 10:34:29 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2016-02-01 10:34:29 +0300
commite43f08f6a2df5ee8efebe502cfcc6d45a8a188f7 (patch)
tree022ff53aac599a173bf126ee56bfde9c5dbab433 /source/blender/render
parent25f5fdc070fb295003e323ce0db9bee49d64f0df (diff)
Fix missing return after NULL check, from Coverity reports.
Diffstat (limited to 'source/blender/render')
-rw-r--r--source/blender/render/intern/source/pointdensity.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/render/intern/source/pointdensity.c b/source/blender/render/intern/source/pointdensity.c
index 1fcd6184e46..331830ad9d9 100644
--- a/source/blender/render/intern/source/pointdensity.c
+++ b/source/blender/render/intern/source/pointdensity.c
@@ -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;