Skip to content

Commit aa72bbf

Browse files
committed
fixing arc problem #2
1 parent 6572291 commit aa72bbf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

projectManager.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,8 @@ export class ProjectManager {
301301
objData.geometry.radius,
302302
objData.geometry.tube,
303303
objData.geometry.radialSegments,
304-
objData.geometry.tubularSegments
304+
objData.geometry.tubularSegments,
305+
objData.geometry.arc || Math.PI * 2 // Default to full circle if not specified
305306
);
306307
} else if (objData.type === 'ConeGeometry') {
307308
geometry = new THREE.ConeGeometry(

0 commit comments

Comments
 (0)