mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 17:31:45 +00:00
33 lines
1.4 KiB
Diff
33 lines
1.4 KiB
Diff
http://git.dev.opencascade.org/gitweb/?p=occt.git;a=commitdiff;h=0ab4e621833f4eae945a3762c9a29ee12e2eec53#patch1
|
|
diff --git a/src/HLRBRep/HLRBRep_InternalAlgo.cxx b/src/HLRBRep/HLRBRep_InternalAlgo.cxx
|
|
index ca885ca..c13cb06 100644 (file)
|
|
--- a/src/HLRBRep/HLRBRep_InternalAlgo.cxx
|
|
+++ b/src/HLRBRep/HLRBRep_InternalAlgo.cxx
|
|
@@ -165,7 +165,7 @@ void HLRBRep_InternalAlgo::Update ()
|
|
SB.Bounds(v1,v2,e1,e2,f1,f2);
|
|
|
|
for (Standard_Integer e = e1; e <= e2; e++) {
|
|
- HLRBRep_EdgeData ed = aEDataArray.ChangeValue(e);
|
|
+ HLRBRep_EdgeData& ed = aEDataArray.ChangeValue(e);
|
|
HLRAlgo::DecodeMinMax(ed.MinMax(), TheMin, TheMax);
|
|
if (FirstTime) {
|
|
FirstTime = Standard_False;
|
|
@@ -307,7 +307,7 @@ void HLRBRep_InternalAlgo::InitEdgeStatus ()
|
|
Standard_Integer nf = myDS->NbFaces();
|
|
|
|
for (Standard_Integer e = 1; e <= ne; e++) {
|
|
- HLRBRep_EdgeData ed = aEDataArray.ChangeValue(e);
|
|
+ HLRBRep_EdgeData& ed = aEDataArray.ChangeValue(e);
|
|
if (ed.Selected()) ed.Status().ShowAll();
|
|
}
|
|
// for (Standard_Integer f = 1; f <= nf; f++) {
|
|
@@ -368,7 +368,7 @@ void HLRBRep_InternalAlgo::Select ()
|
|
Standard_Integer nf = myDS->NbFaces();
|
|
|
|
for (Standard_Integer e = 1; e <= ne; e++) {
|
|
- HLRBRep_EdgeData ed = aEDataArray.ChangeValue(e);
|
|
+ HLRBRep_EdgeData& ed = aEDataArray.ChangeValue(e);
|
|
ed.Selected(Standard_True);
|
|
}
|
|
|