This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
OpenSource
/
dc-sdk
mirror of
https://github.com/dvt3d/dc-sdk
Watch
4
Star
0
Fork
0
Code
Issues
0
Releases
92
Wiki
Activity
Browse Source
improve the editTool
tags/3.0.0
Caven Chen
2 years ago
parent
496ab1ff99
commit
e09dfaf9c4
No account linked to committer's email address
1 changed files
with
2 additions
and
0 deletions
Split View
Show Diff Stats
2
0
modules/tools/EditTool.js
+ 2
- 0
modules/tools/EditTool.js
View File
@@ -240,6 +240,8 @@ class EditTool {
* @returns {EditTool}
*/
activate(options = {}) {
this._anchorLayer.entities.removeAll()
this._anchors = []
this._viewer.tooltip.enable = true
this._options = { ...DEF_OPTS, ...options }
this._unbindEvent()
Write
Preview
Loading…
Cancel
Save