1
This commit is contained in:
@ -338,8 +338,9 @@
|
||||
<button class="option-btn" data-option="louver-3">3m下拉帘</button>
|
||||
<button class="option-btn" data-option="louver-4">SPFSW13FTW</button>
|
||||
<button class="option-btn" data-option="louver-4">SPFSW10FTW</button>
|
||||
<button class="option-btn" data-option="louver-4">SPFSW10FTC</button>
|
||||
<button class="option-btn" data-option="louver-4">SPFPDS10FTC</button>
|
||||
<button class="option-btn" data-option="louver-4">SPFPDS10FTW</button>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -750,7 +751,8 @@
|
||||
const pickedMesh = window.getCurrentPickedMesh();
|
||||
if (pickedMesh) {
|
||||
const meshName = pickedMesh.name;
|
||||
const success = kernel.model.remove(meshName);
|
||||
const modelName = kernel.model.findModelNameByMesh(pickedMesh);
|
||||
const success = kernel.model.removeByName(modelName);
|
||||
if (success) {
|
||||
console.log('模型已移除');
|
||||
// 关闭信息框
|
||||
|
||||
Reference in New Issue
Block a user