|
@@ -1046,7 +1046,13 @@ export default {
|
|
|
})
|
|
|
break
|
|
|
case 'ModelBoundingBox':
|
|
|
- window.api.Model.addBoundingVolume(that.$store.state.model.mainModelMsg.lightweightName)
|
|
|
+ if(!this.isOpenModelBoundingBox){
|
|
|
+ this.isOpenModelBoundingBox = true
|
|
|
+ window.api.Model.addBoundingVolume(that.$store.state.model.mainModelMsg.lightweightName)
|
|
|
+ }else{
|
|
|
+ this.isOpenModelBoundingBox = false
|
|
|
+ window.api.Model.clearBoundingVolume();
|
|
|
+ }
|
|
|
break
|
|
|
case 'SubAttributes':
|
|
|
this.NotificationPopup({
|