diff options
Diffstat (limited to 'intern/cycles/blender/blender_object.cpp')
-rw-r--r-- | intern/cycles/blender/blender_object.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/intern/cycles/blender/blender_object.cpp b/intern/cycles/blender/blender_object.cpp index 48d309c259b..4e488f12d0d 100644 --- a/intern/cycles/blender/blender_object.cpp +++ b/intern/cycles/blender/blender_object.cpp @@ -69,7 +69,11 @@ bool BlenderSync::object_is_mesh(BL::Object &b_ob) BL::Object::type_enum type = b_ob.type(); +#ifdef WITH_NEW_OBJECT_TYPES + if (type == BL::Object::type_VOLUME || type == BL::Object::type_HAIR) { +#else if (type == BL::Object::type_VOLUME) { +#endif /* Will be exported attached to mesh. */ return true; } |