[Bf-blender-cvs] [16cf3a0014a] curve-nodes-modifier: Fix 2D curves always convert to mesh, regardless of fill mode

Hans Goudey noreply at git.blender.org
Wed Jul 14 00:05:56 CEST 2021


Commit: 16cf3a0014a4fd3d204e301a312e6b31991187be
Author: Hans Goudey
Date:   Tue Jul 13 17:45:58 2021 -0400
Branches: curve-nodes-modifier
https://developer.blender.org/rB16cf3a0014a4fd3d204e301a312e6b31991187be

Fix 2D curves always convert to mesh, regardless of fill mode

===================================================================

M	source/blender/blenkernel/intern/displist.cc

===================================================================

diff --git a/source/blender/blenkernel/intern/displist.cc b/source/blender/blenkernel/intern/displist.cc
index 6c0ed954d79..40442ae184b 100644
--- a/source/blender/blenkernel/intern/displist.cc
+++ b/source/blender/blenkernel/intern/displist.cc
@@ -846,8 +846,8 @@ static bool do_curve_implicit_mesh_conversion(const Curve *curve,
     return true;
   }
 
-  /* 2D curves are implicitly filled and converted to a mesh. */
-  if (CU_IS_2D(curve)) {
+  /* 2D curves are sometimes implicitly filled and converted to a mesh. */
+  if (CU_DO_2DFILL(curve)) {
     return true;
   }



More information about the Bf-blender-cvs mailing list