开发:清理代码

pull/2216/head
ChenX 1 year ago
parent df7d4757e6
commit 4c1122ca8b

@ -413,7 +413,7 @@ export class ColorMaterial
static GetConceptualEdgeMaterial() static GetConceptualEdgeMaterial()
{ {
if (!this._ConceptualEdgeMaterial) if (!this._ConceptualEdgeMaterial)
this._ConceptualEdgeMaterial = new LineBasicMaterial({ color: this.GetColor(HostApplicationServices.ConceptualEdgeColor).clone(), side: DoubleSide }); this._ConceptualEdgeMaterial = new LineBasicMaterial({ color: this.GetColor(HostApplicationServices.ConceptualEdgeColor), side: DoubleSide });
return this._ConceptualEdgeMaterial; return this._ConceptualEdgeMaterial;
} }
@ -426,7 +426,7 @@ export class ColorMaterial
static GetPhysical2EdgeMaterial() static GetPhysical2EdgeMaterial()
{ {
if (!this._Physical2EdgeMaterial) if (!this._Physical2EdgeMaterial)
this._Physical2EdgeMaterial = new LineBasicMaterial({ color: this.GetColor(HostApplicationServices.Physical2EdgeColor).clone(), side: DoubleSide }); this._Physical2EdgeMaterial = new LineBasicMaterial({ color: this.GetColor(HostApplicationServices.Physical2EdgeColor), side: DoubleSide });
return this._Physical2EdgeMaterial; return this._Physical2EdgeMaterial;
} }

Loading…
Cancel
Save