mirror of https://gitee.com/cf-fz/WebCAD.git
!1318 优化:拆单失败亮显发送图纸
parent
d54f8ac2ac
commit
a3c9c00a16
@ -0,0 +1,7 @@
|
|||||||
|
export const ReportFunctionList: ((msg: string) => void)[] = [];
|
||||||
|
|
||||||
|
export function SendReport(msg: string)
|
||||||
|
{
|
||||||
|
for (let f of ReportFunctionList)
|
||||||
|
f(msg);
|
||||||
|
}
|
@ -0,0 +1,10 @@
|
|||||||
|
import { Object3D } from "three";
|
||||||
|
import { Entity } from "../DatabaseServices/Entity/Entity";
|
||||||
|
|
||||||
|
export const ShowObjectsFunctionList: ((ens: (Entity[]) | Object3D[]) => void)[] = [];
|
||||||
|
|
||||||
|
export function ShowSelectObjects(ens: (Entity[]) | Object3D[])
|
||||||
|
{
|
||||||
|
for (let f of ShowObjectsFunctionList)
|
||||||
|
f(ens);
|
||||||
|
}
|
Loading…
Reference in new issue