[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [942] trunk/py/scripts/addons/ add_curve_torus_knots.py: == Torus Knot ==
Florian Meyer
florianfelix at web.de
Tue Aug 24 18:41:16 CEST 2010
Revision: 942
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-extensions&revision=942
Author: testscreenings
Date: 2010-08-24 18:41:16 +0200 (Tue, 24 Aug 2010)
Log Message:
-----------
== Torus Knot ==
- fixes for api changes
Modified Paths:
--------------
trunk/py/scripts/addons/add_curve_torus_knots.py
Modified: trunk/py/scripts/addons/add_curve_torus_knots.py
===================================================================
--- trunk/py/scripts/addons/add_curve_torus_knots.py 2010-08-24 15:33:11 UTC (rev 941)
+++ trunk/py/scripts/addons/add_curve_torus_knots.py 2010-08-24 16:41:16 UTC (rev 942)
@@ -89,10 +89,10 @@
if props.geo_surf:
newCurve.bevel_depth = props.geo_bDepth
newCurve.bevel_resolution = props.geo_bRes
- newCurve.front = False
- newCurve.back = False
+ newCurve.use_fill_front = False
+ newCurve.use_fill_back = False
newCurve.extrude = props.geo_extrude
- newCurve.width = props.geo_width
+ newCurve.offset = props.geo_width
newCurve.resolution_u = props.geo_res
# create object with newCurve
@@ -318,4 +318,4 @@
bpy.types.INFO_MT_curve_add.remove(torus_knot_plus_button)
if __name__ == "__main__":
- register()
+ register()
\ No newline at end of file
More information about the Bf-extensions-cvs
mailing list