|
|
@ -180,8 +180,8 @@ public class CurvesTemporalMesh extends TemporalMesh { |
|
|
|
if (bevelObject != null && beziers.size() > 0) { |
|
|
|
if (bevelObject != null && beziers.size() > 0) { |
|
|
|
this.append(this.applyBevelAndTaper(this, bevelObject, taperObject, blenderContext)); |
|
|
|
this.append(this.applyBevelAndTaper(this, bevelObject, taperObject, blenderContext)); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
int originalVerticesAmount = vertices.size(); |
|
|
|
|
|
|
|
for (BezierLine bezierLine : beziers) { |
|
|
|
for (BezierLine bezierLine : beziers) { |
|
|
|
|
|
|
|
int originalVerticesAmount = vertices.size(); |
|
|
|
vertices.add(bezierLine.vertices[0]); |
|
|
|
vertices.add(bezierLine.vertices[0]); |
|
|
|
Vector3f v = bezierLine.vertices[1].subtract(bezierLine.vertices[0]).normalizeLocal(); |
|
|
|
Vector3f v = bezierLine.vertices[1].subtract(bezierLine.vertices[0]).normalizeLocal(); |
|
|
|
float temp = v.x; |
|
|
|
float temp = v.x; |
|
|
|