Fix T52943: don't export curves objects with no faces to Cycles.
authorBrecht Van Lommel <brechtvanlommel@gmail.com>
Fri, 29 Sep 2017 01:56:14 +0000 (03:56 +0200)
committerBrecht Van Lommel <brechtvanlommel@gmail.com>
Fri, 29 Sep 2017 12:54:34 +0000 (14:54 +0200)
commit9298c53e4cdb30f8d758ba02556b2fe6410da3a6
tree4073c902dfe5142a8ed236100eb1dffc44c702b7
parentd2bbd41b4ea5f40a219d52f0922697b4554b8db2
Fix T52943: don't export curves objects with no faces to Cycles.

Also skip any objects with zero ray visibility and meshes with
zero faces.
intern/cycles/blender/blender_mesh.cpp
intern/cycles/blender/blender_object.cpp