|
|
|
@ -592,8 +592,8 @@ export class RoomHolePolyline extends RoomHoleBase
|
|
|
|
|
let obj = new Object3D;
|
|
|
|
|
if (renderType === RenderType.Conceptual)
|
|
|
|
|
{
|
|
|
|
|
let mesh = new Mesh(this.MeshGeometry, ColorMaterial.GetConceptualMaterial(this.ColorIndex));
|
|
|
|
|
let line = new LineSegments(this.EdgeGeometry, ColorMaterial.GetLineMaterial(this.ColorIndex));
|
|
|
|
|
let mesh = new Mesh(this.MeshGeometry, ColorMaterial.GetConceptualMaterial(this.DrawColorIndex));
|
|
|
|
|
let line = new LineSegments(this.EdgeGeometry, ColorMaterial.GetLineMaterial(this.DrawColorIndex));
|
|
|
|
|
obj.add(mesh, line);
|
|
|
|
|
}
|
|
|
|
|
else if (renderType === RenderType.Print)
|
|
|
|
@ -664,7 +664,7 @@ export class RoomHolePolyline extends RoomHoleBase
|
|
|
|
|
else if (renderType === RenderType.Conceptual)
|
|
|
|
|
{
|
|
|
|
|
let mesh = obj.children[0] as Mesh;
|
|
|
|
|
mesh.material = ColorMaterial.GetConceptualMaterial(this.ColorIndex);
|
|
|
|
|
mesh.material = ColorMaterial.GetConceptualMaterial(this.DrawColorIndex);
|
|
|
|
|
}
|
|
|
|
|
else if (renderType === RenderType.Physical2)
|
|
|
|
|
{
|
|
|
|
|