diff --git a/add_curve_ivygen.py b/add_curve_ivygen.py index 99f9e563b871e5cc1cf1079d189da0493e82f8a7..30fdb33608924b8808bcdfc4fb579d1c74750c48 100644 --- a/add_curve_ivygen.py +++ b/add_curve_ivygen.py @@ -54,7 +54,7 @@ def createIvyGeometry(IVY, growLeaves): curve = bpy.data.curves.new("IVY", type='CURVE') curve.dimensions = '3D' curve.bevel_depth = 1 - curve.use_fill_front = curve.use_fill_back = False + curve.fill_mode = 'FULL' curve.resolution_u = 4 if growLeaves: diff --git a/add_curve_sapling/utils.py b/add_curve_sapling/utils.py index 98b6f741f3e288bc59f6a6bc2f2245150bcb8dc8..16a4509ee969dd3b52dd0d10dcae8f898ab36e8c 100644 --- a/add_curve_sapling/utils.py +++ b/add_curve_sapling/utils.py @@ -484,8 +484,7 @@ def addTree(props): bpy.context.scene.objects.link(treeOb) cu.dimensions = '3D' - cu.use_fill_back = False - cu.use_fill_front = False + cu.fill_mode = 'FULL' cu.bevel_depth = bevelDepth cu.bevel_resolution = bevelRes diff --git a/add_curve_torus_knots.py b/add_curve_torus_knots.py index ed0329e1549673eeddf04fab5b6119da0508d56f..5854d42f6260087e7f5773e32e60a47c50b4de80 100644 --- a/add_curve_torus_knots.py +++ b/add_curve_torus_knots.py @@ -89,8 +89,7 @@ def create_torus_knot(self, context): if self.geo_surf: curve_data.bevel_depth = self.geo_bDepth curve_data.bevel_resolution = self.geo_bRes - curve_data.use_fill_front = False - curve_data.use_fill_back = False + curve_data.fill_mode = 'FULL' curve_data.extrude = self.geo_extrude #curve_data.offset = self.geo_width # removed, somehow screws things up all of a sudden curve_data.resolution_u = self.geo_res diff --git a/animation_rotobezier.py b/animation_rotobezier.py index 3f4f1003f1a733890cf138d15914dbce11e7839b..7003bd3550dd69c1a0e8bf79b0422a008f6d78ef 100644 --- a/animation_rotobezier.py +++ b/animation_rotobezier.py @@ -283,8 +283,7 @@ def MakeMatte (Type): Curve = Obj.data Curve.dimensions = '2D' - Curve.use_fill_front = False - Curve.use_fill_back = False + Curve.fill_mode = 'NONE' class CURVE_OT_make_white_matte_rotobezier(bpy.types.Operator):