Browse Source

Fixed behaviour glitch on draggable cubes example.

Mr.doob 14 years ago
parent
commit
48eb624d59
1 changed files with 2 additions and 0 deletions
  1. 2 0
      examples/webgl_interactive_draggablecubes.html

+ 2 - 0
examples/webgl_interactive_draggablecubes.html

@@ -192,6 +192,8 @@
 
 
 				event.preventDefault();
 				event.preventDefault();
 
 
+				plane.position.copy( INTERSECTED.position );
+
 				SELECTED = null;
 				SELECTED = null;
 
 
 				container.style.cursor = 'auto';
 				container.style.cursor = 'auto';