Skip to content

Commit

Permalink
Fixed Spline Revolve node.
Browse files Browse the repository at this point in the history
  • Loading branch information
OmarEmaraDev committed Dec 14, 2018
1 parent b00597a commit d68a7f6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions animation_nodes/algorithms/mesh_generation/revolve.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit d68a7f6

Please sign in to comment.