diff options
author | Lukas Toenne <lukas.toenne@googlemail.com> | 2013-08-12 10:53:17 +0400 |
---|---|---|
committer | Lukas Toenne <lukas.toenne@googlemail.com> | 2013-08-12 10:53:17 +0400 |
commit | 795fa1f199a9e4489763502fd69e4e2f23ae2a9b (patch) | |
tree | cb8d11f62460dea2f55bb8fb3a05017c41f0e17e /intern/cycles | |
parent | 68c8530be171d785cdf33a66a4b0e5731256fce5 (diff) |
Fix #36437 Cycles no longer rendering Emitter object (Particle Systems). The change r58999 was ignoring the "show_emitter" setting by particles (the result would be the same as long as hair was not
used). If particle emitters are forced to show all other of the usual duplicator hiding should be disabled.
Diffstat (limited to 'intern/cycles')
-rw-r--r-- | intern/cycles/blender/blender_object.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/blender/blender_object.cpp b/intern/cycles/blender/blender_object.cpp index a5a2f1529a2..3410c73fbde 100644 --- a/intern/cycles/blender/blender_object.cpp +++ b/intern/cycles/blender/blender_object.cpp @@ -373,7 +373,7 @@ static bool object_render_hide(BL::Object b_ob, bool top_level, bool parent_hide if(show_emitter) { hide_triangles = false; - return (hide_as_dupli_parent || hide_as_dupli_child_original); + return false; } else if(hair_present) { hide_triangles = true; |