[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [2331] trunk/py/scripts/addons: Changes related on recent curves rna renaming.

Sergey Sharybin g.ulairi at gmail.com
Mon Sep 19 11:52:40 CEST 2011


Revision: 2331
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-extensions&revision=2331
Author:   nazgul
Date:     2011-09-19 09:52:40 +0000 (Mon, 19 Sep 2011)
Log Message:
-----------
Changes related on recent curves rna renaming.

Modified Paths:
--------------
    trunk/py/scripts/addons/add_curve_ivygen.py
    trunk/py/scripts/addons/add_curve_sapling/utils.py
    trunk/py/scripts/addons/add_curve_torus_knots.py
    trunk/py/scripts/addons/animation_rotobezier.py

Modified: trunk/py/scripts/addons/add_curve_ivygen.py
===================================================================
--- trunk/py/scripts/addons/add_curve_ivygen.py	2011-09-18 15:49:30 UTC (rev 2330)
+++ trunk/py/scripts/addons/add_curve_ivygen.py	2011-09-19 09:52:40 UTC (rev 2331)
@@ -54,7 +54,7 @@
     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:

Modified: trunk/py/scripts/addons/add_curve_sapling/utils.py
===================================================================
--- trunk/py/scripts/addons/add_curve_sapling/utils.py	2011-09-18 15:49:30 UTC (rev 2330)
+++ trunk/py/scripts/addons/add_curve_sapling/utils.py	2011-09-19 09:52:40 UTC (rev 2331)
@@ -484,8 +484,7 @@
         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
 

Modified: trunk/py/scripts/addons/add_curve_torus_knots.py
===================================================================
--- trunk/py/scripts/addons/add_curve_torus_knots.py	2011-09-18 15:49:30 UTC (rev 2330)
+++ trunk/py/scripts/addons/add_curve_torus_knots.py	2011-09-19 09:52:40 UTC (rev 2331)
@@ -89,8 +89,7 @@
     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

Modified: trunk/py/scripts/addons/animation_rotobezier.py
===================================================================
--- trunk/py/scripts/addons/animation_rotobezier.py	2011-09-18 15:49:30 UTC (rev 2330)
+++ trunk/py/scripts/addons/animation_rotobezier.py	2011-09-19 09:52:40 UTC (rev 2331)
@@ -283,8 +283,7 @@
     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):



More information about the Bf-extensions-cvs mailing list