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:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2016-08-28 22:20:06 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2016-08-28 22:26:03 +0300
commit8a02c5fc62ca4d4aaddf787a21cbf3d2cbe3d8a5 (patch)
treecf83f308baff609619da45f4b743bc3e444ec826 /intern/cycles/blender/blender_particles.cpp
parent116bab702e009ce8043b976b4a9c4afa4c7ff5b0 (diff)
Fix T49163: let Cycles only hide particles with missing motion data, not regular objects.
Diffstat (limited to 'intern/cycles/blender/blender_particles.cpp')
-rw-r--r--intern/cycles/blender/blender_particles.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/intern/cycles/blender/blender_particles.cpp b/intern/cycles/blender/blender_particles.cpp
index b9876cd604f..dd2900a8d5b 100644
--- a/intern/cycles/blender/blender_particles.cpp
+++ b/intern/cycles/blender/blender_particles.cpp
@@ -36,6 +36,8 @@ bool BlenderSync::sync_dupli_particle(BL::Object& b_ob,
if(!b_psys)
return false;
+ object->hide_on_missing_motion = true;
+
/* test if we need particle data */
if(!object->mesh->need_attribute(scene, ATTR_STD_PARTICLE))
return false;