Browse Source

Improved webgl_interactive_voxelpainter.html (#23091)

linbingquan 3 năm trước cách đây
mục cha
commit
421e856681
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      examples/webgl_interactive_voxelpainter.html

+ 2 - 2
examples/webgl_interactive_voxelpainter.html

@@ -128,9 +128,9 @@
 					rollOverMesh.position.copy( intersect.point ).add( intersect.face.normal );
 					rollOverMesh.position.divideScalar( 50 ).floor().multiplyScalar( 50 ).addScalar( 25 );
 
-				}
+					render();
 
-				render();
+				}
 
 			}