Browse Source

Improved webgl_interactive_voxelpainter.html (#23091)

linbingquan 3 years ago
parent
commit
421e856681
1 changed files with 2 additions and 2 deletions
  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();
+				}
 
 			}