二三维单独显示状态保存
This commit is contained in:
@ -31,6 +31,7 @@ class Base extends Tools {
|
||||
this.rightClickCallBack = null
|
||||
this.picking = true
|
||||
this.options.host = this.options.host || getHost()
|
||||
// this.#_showView = this.options.showView || 0
|
||||
this.setDefaultValue()
|
||||
|
||||
// this.sdk.addIncetance(this.options.id, this)
|
||||
@ -66,7 +67,15 @@ class Base extends Tools {
|
||||
|
||||
let sdk2D = get2DSdk().sdkD
|
||||
if (!sdk2D) {
|
||||
v = 0
|
||||
this.#_showView = v
|
||||
if(this.entity) {
|
||||
this.entity._showView = v
|
||||
}
|
||||
return
|
||||
}
|
||||
if (this.sdk === sdk2D) {
|
||||
this.#_showView = 0
|
||||
return
|
||||
}
|
||||
if (!this.#_showView && !this.show) {
|
||||
return
|
||||
|
Reference in New Issue
Block a user