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:
authorCampbell Barton <ideasman42@gmail.com>2011-02-05 10:08:34 +0300
committerCampbell Barton <ideasman42@gmail.com>2011-02-05 10:08:34 +0300
commit696b0366f5c46dcfcb50f53b4ca4f59c593b88fb (patch)
tree8dfbeb67383adc39b5742c661f61a55eb4066659 /curve_simplify.py
parentdfd3febce161e76015beb0faac516724aceff453 (diff)
update for changes in mathutuils.
Diffstat (limited to 'curve_simplify.py')
-rw-r--r--curve_simplify.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/curve_simplify.py b/curve_simplify.py
index 8b1fc0ad..8533769d 100644
--- a/curve_simplify.py
+++ b/curve_simplify.py
@@ -254,7 +254,7 @@ def main(context, obj, options):
for splineVert in spline.bezier_points.values()]
else: # verts from all other types of curves
- splineVerts = [splineVert.co.copy().resize3D()
+ splineVerts = [splineVert.co.to_3d()
for splineVert in spline.points.values()]
# simplify spline according to mode
@@ -304,7 +304,7 @@ def getFcurveData(obj):
fcurves = []
for fc in obj.animation_data.action.fcurves:
if fc.select:
- fcVerts = [vcVert.co.copy().resize3D()
+ fcVerts = [vcVert.co.to_3d()
for vcVert in fc.keyframe_points.values()]
fcurves.append(fcVerts)
return fcurves