From d68a7f6cdf539c9a3a700c6ebe4672edb72ed10b Mon Sep 17 00:00:00 2001 From: OmarSquircleArt Date: Fri, 14 Dec 2018 21:30:46 +0200 Subject: [PATCH] Fixed Spline Revolve node. --- animation_nodes/algorithms/mesh_generation/revolve.pyx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/animation_nodes/algorithms/mesh_generation/revolve.pyx b/animation_nodes/algorithms/mesh_generation/revolve.pyx index 19b6dc80d..7856e8781 100644 --- a/animation_nodes/algorithms/mesh_generation/revolve.pyx +++ b/animation_nodes/algorithms/mesh_generation/revolve.pyx @@ -16,10 +16,10 @@ def vertices(Spline axis not None, Spline profile not None, assert nSurfaceSamples >= 3 cdef Vector3DList axisSamples, profileSamples, tangents - profileSamples = profile.getSamples(nSplineSamples) + profileSamples = profile.getDistributedPoints(nSplineSamples) if type == "PARAMETER": - axisSamples = axis.getSamples(nSplineSamples) - tangents = profile.getTangentSamples(nSplineSamples) + axisSamples = axis.getDistributedPoints(nSplineSamples) + tangents = profile.getDistributedTangents(nSplineSamples) elif type == "PROJECT": axisSamples = Vector3DList() tangents = Vector3DList()