feat(menu): add cancel translucent option to right-click menu
- Add cancelTranslucent i18n translations (zh-CN: 取消半透明, en-US: Cancel Translucent) - Add unTranslucentModel() method to Engine layer - Add unTranslucentModel() proxy to EngineManager - Add menu item after 'Transparent Selected' (order: 4) - Update menu item order numbers (5-8)
This commit is contained in:
@@ -819,6 +819,17 @@ export class Engine implements IBimComponent {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 取消半透明
|
||||
*/
|
||||
public unTranslucentModel(): void {
|
||||
if (!this._isInitialized || !this.engine?.modelToolModule) {
|
||||
console.warn('[Engine] Cannot cancel translucent: engine not initialized.');
|
||||
return;
|
||||
}
|
||||
this.engine.modelToolModule.unTranslucentModel();
|
||||
}
|
||||
|
||||
/**
|
||||
* 隔离选中构件(隐藏其他)
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user