Salome HOME
projects
/
modules
/
shaper.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca5c4cc
)
Redisplay AIS presentation in all modes if deflection is changed.
author
nds
<nds@opencascade.com>
Thu, 8 Sep 2016 07:32:55 +0000
(10:32 +0300)
committer
nds
<nds@opencascade.com>
Thu, 8 Sep 2016 07:33:12 +0000
(10:33 +0300)
src/GeomAPI/GeomAPI_AISObject.cpp
patch
|
blob
|
history
diff --git
a/src/GeomAPI/GeomAPI_AISObject.cpp
b/src/GeomAPI/GeomAPI_AISObject.cpp
index 8510cdca30a9d27329f1e4019ec416314125db90..bc6aa29a49c0e3ad432790cdc30b10d72b3d3cf0 100644
(file)
--- a/
src/GeomAPI/GeomAPI_AISObject.cpp
+++ b/
src/GeomAPI/GeomAPI_AISObject.cpp
@@
-386,6
+386,10
@@
bool GeomAPI_AISObject::setDeflection(const double theDeflection)
if (fabs(aCoefficient-theDeflection) > Precision::Confusion()) {
isModified = true;
anAISShape->SetOwnDeviationCoefficient(theDeflection);
+ // redisplay is necessary here to update presentation in all modes
+ // Standard True flag. Displayer uses Standard False flag. If it will be changed in
+ // displayer, redisplay here will not be necessary. But performance should be checked.
+ anAISShape->Redisplay(Standard_True);
}
}
}