diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-10-03 13:28:57 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-10-03 13:29:39 +0300 |
commit | 61d5c5a64ff7c59be6756144ab9720f9247061a9 (patch) | |
tree | 833fbb6ff337c1c788563c631ef31f8372783c03 /intern/cycles | |
parent | 7c2d5eaacb70420b447107da29b114c9a62b294f (diff) |
Fix T52981: 2D Curve shapes do not render untill extruded
Regression since 9298c53.
Diffstat (limited to 'intern/cycles')
-rw-r--r-- | intern/cycles/blender/blender_object.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/intern/cycles/blender/blender_object.cpp b/intern/cycles/blender/blender_object.cpp index 63138c060fb..eb573b75e9e 100644 --- a/intern/cycles/blender/blender_object.cpp +++ b/intern/cycles/blender/blender_object.cpp @@ -75,6 +75,7 @@ bool BlenderSync::object_is_mesh(BL::Object& b_ob) return (b_curve.bevel_object() || b_curve.extrude() != 0.0f || b_curve.bevel_depth() != 0.0f || + b_curve.dimensions() == BL::Curve::dimensions_2D || b_ob.modifiers.length()); } else { |