Fix for [#26254] Rendering problem with group-instances of particle-instances
authorJanne Karhu <jhkarh@gmail.com>
Thu, 3 Mar 2011 19:07:27 +0000 (19:07 +0000)
committerJanne Karhu <jhkarh@gmail.com>
Thu, 3 Mar 2011 19:07:27 +0000 (19:07 +0000)
commit95f74f3442ad73d6ab3c2ee70346d51fdd5662c0
tree5446cbea1972a97e7864b8a7a4bb02ba099c5312
parent18afcbcb7db513fa9e27d8245ead3401570eb44e
Fix for [#26254] Rendering problem with group-instances of particle-instances
* Render level derived mesh (needed for proper hair rendering) was only calculated before duplication code if the particle object was a level 0 duplicator, so particles creating objects inside a dupligroup didn't work.
* I really don't see the need for the level == 0 check, so I just removed it and after some quick tests can't see any negative effects. If the check is needed for some case though then a more complicated test is needed to handle all cases.
source/blender/render/intern/source/convertblender.c