From da3fabba95dc6854915c455186d670484633573a Mon Sep 17 00:00:00 2001 From: Sergey Sharybin <sergey.vfx@gmail.com> Date: Mon, 19 Sep 2011 09:52:40 +0000 Subject: [PATCH] Changes related on recent curves rna renaming. --- add_curve_ivygen.py | 2 +- add_curve_sapling/utils.py | 3 +-- add_curve_torus_knots.py | 3 +-- animation_rotobezier.py | 3 +-- 4 files changed, 4 insertions(+), 7 deletions(-) diff --git a/add_curve_ivygen.py b/add_curve_ivygen.py index 99f9e563b..30fdb3360 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 98b6f741f..16a4509ee 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 ed0329e15..5854d42f6 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 3f4f1003f..7003bd355 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): -- GitLab