| 1 |
http://git.dev.opencascade.org/gitweb/?p=occt.git;a=commitdiff;h=0ab4e621833f4eae945a3762c9a29ee12e2eec53#patch1 |
| 2 |
diff --git a/src/HLRBRep/HLRBRep_InternalAlgo.cxx b/src/HLRBRep/HLRBRep_InternalAlgo.cxx |
| 3 |
index ca885ca..c13cb06 100644 (file) |
| 4 |
--- a/src/HLRBRep/HLRBRep_InternalAlgo.cxx |
| 5 |
+++ b/src/HLRBRep/HLRBRep_InternalAlgo.cxx |
| 6 |
@@ -165,7 +165,7 @@ void HLRBRep_InternalAlgo::Update () |
| 7 |
SB.Bounds(v1,v2,e1,e2,f1,f2); |
| 8 |
|
| 9 |
for (Standard_Integer e = e1; e <= e2; e++) { |
| 10 |
- HLRBRep_EdgeData ed = aEDataArray.ChangeValue(e); |
| 11 |
+ HLRBRep_EdgeData& ed = aEDataArray.ChangeValue(e); |
| 12 |
HLRAlgo::DecodeMinMax(ed.MinMax(), TheMin, TheMax); |
| 13 |
if (FirstTime) { |
| 14 |
FirstTime = Standard_False; |
| 15 |
@@ -307,7 +307,7 @@ void HLRBRep_InternalAlgo::InitEdgeStatus () |
| 16 |
Standard_Integer nf = myDS->NbFaces(); |
| 17 |
|
| 18 |
for (Standard_Integer e = 1; e <= ne; e++) { |
| 19 |
- HLRBRep_EdgeData ed = aEDataArray.ChangeValue(e); |
| 20 |
+ HLRBRep_EdgeData& ed = aEDataArray.ChangeValue(e); |
| 21 |
if (ed.Selected()) ed.Status().ShowAll(); |
| 22 |
} |
| 23 |
// for (Standard_Integer f = 1; f <= nf; f++) { |
| 24 |
@@ -368,7 +368,7 @@ void HLRBRep_InternalAlgo::Select () |
| 25 |
Standard_Integer nf = myDS->NbFaces(); |
| 26 |
|
| 27 |
for (Standard_Integer e = 1; e <= ne; e++) { |
| 28 |
- HLRBRep_EdgeData ed = aEDataArray.ChangeValue(e); |
| 29 |
+ HLRBRep_EdgeData& ed = aEDataArray.ChangeValue(e); |
| 30 |
ed.Selected(Standard_True); |
| 31 |
} |
| 32 |
|