Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2011-09-19 13:52:40 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2011-09-19 13:52:40 +0400
commitda3fabba95dc6854915c455186d670484633573a (patch)
tree105ab20e7739301f74874bd3e2a6ccf6ae2c0516
parent1319f04e30a81c2934ca92eb42e6f2660b5cf799 (diff)
Changes related on recent curves rna renaming.
-rw-r--r--add_curve_ivygen.py2
-rw-r--r--add_curve_sapling/utils.py3
-rw-r--r--add_curve_torus_knots.py3
-rw-r--r--animation_rotobezier.py3
4 files changed, 4 insertions, 7 deletions
diff --git a/add_curve_ivygen.py b/add_curve_ivygen.py
index 99f9e563..30fdb336 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 98b6f741..16a4509e 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 ed0329e1..5854d42f 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 3f4f1003..7003bd35 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):