소스 검색

Editor: made intersection plane larger (so that you can drag objects also when zoomed out).

alteredq 13 년 전
부모
커밋
3b4dc1b651
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      editor/js/ui/Viewport.js

+ 1 - 1
editor/js/ui/Viewport.js

@@ -100,7 +100,7 @@ var Viewport = function ( signals ) {
 
 	// object picking
 
-	var intersectionPlane = new THREE.Mesh( new THREE.PlaneGeometry( 2000, 2000, 8, 8 ) );
+	var intersectionPlane = new THREE.Mesh( new THREE.PlaneGeometry( 10000, 10000, 8, 8 ) );
 	intersectionPlane.visible = false;
 	sceneHelpers.add( intersectionPlane );