Cycles: Fix crash after recent subd fixes
authorSergey Sharybin <sergey.vfx@gmail.com>
Thu, 25 Aug 2016 09:31:36 +0000 (11:31 +0200)
committerSergey Sharybin <sergey.vfx@gmail.com>
Thu, 25 Aug 2016 09:31:36 +0000 (11:31 +0200)
commit86c719f796d2a5049deb8f2467bf5abaa5fadd53
tree7a50ea619b629d86e5721b296b9bf602add2cc42
parent086ec8af485402f1cce5e8705de4ade07c741dbc
Cycles: Fix crash after recent subd fixes

Was happening when object only had curves (doe example, object with hair
particle system and emitter rendering disabled).
intern/cycles/render/mesh.cpp