DiscussionsIssue archiveOCCT:Visualization

Archived issue #0012327

Prs3d_WFShape::Add creates unnecessary line contexts in the group

Open CASCADEOCCT:Visualizationclosed0 public notes

Search issues

Description

The algorithm of Prs3d_WFShape::Add puts unnecessary line contexts in the group
by calling SetPrimitivesAspect() when no primitives are actually added to the
group. These redundant line attributes may degrade the performance of rendering.

The attached modification corrects the problem.

Additional information

Documentation remark, added by Commenter 1 2006-10-27 14:40:24:

New features:
Not required

Public activity

No public notes

Participants are labeled by their role within this record.