2
0
Эх сурвалжийг харах

Fixed issue with closing the tube

Temdog007 6 жил өмнө
parent
commit
69e04782e2

+ 1 - 1
editor/js/Sidebar.Geometry.TubeGeometry.js

@@ -120,7 +120,7 @@ Sidebar.Geometry.TubeGeometry = function ( editor, object ) {
 		}
 
 		editor.execute( new SetGeometryCommand( object, new THREE[ geometry.type ](
-			new THREE.CatmullRomCurve3( points ),
+			new THREE.CatmullRomCurve3( points, closed.getValue() ),
 			tubularSegments.getValue(),
 			radius.getValue(),
 			radialSegments.getValue(),