xzw 2 years ago
parent
commit
24f15a61f2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/custom/objects/tool/MeasuringTool.js

+ 1 - 1
src/custom/objects/tool/MeasuringTool.js

@@ -568,7 +568,7 @@ export class MeasuringTool extends THREE.EventDispatcher{
             
             this.viewer.removeEventListener('global_click', click)///* global_drop */
             
-            
+            measure.dispatchEvent('firstClick')
             
             //console.log('measure clicked')
             e.consume && e.consume()