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
(from parent 1:
466c594
)
Fix for exception on presentation of arc with radius less 0.001
author
vsv
<vsv@opencascade.com>
Thu, 12 Jul 2018 09:08:29 +0000
(12:08 +0300)
committer
vsv
<vsv@opencascade.com>
Thu, 12 Jul 2018 09:08:29 +0000
(12:08 +0300)
src/ModuleBase/ModuleBase_ResultPrs.cpp
patch
|
blob
|
history
diff --git
a/src/ModuleBase/ModuleBase_ResultPrs.cpp
b/src/ModuleBase/ModuleBase_ResultPrs.cpp
index be06b5046b0d58c55b9c865c22ec46b6c52b0808..1646edc0d2bc230e17cfa35dc4001a2ed21285c2 100755
(executable)
--- a/
src/ModuleBase/ModuleBase_ResultPrs.cpp
+++ b/
src/ModuleBase/ModuleBase_ResultPrs.cpp
@@
-253,7
+253,12
@@
void ModuleBase_ResultPrs::Compute(
}
// change deviation coefficient to provide more precise circle
//ModuleBase_Tools::setDefaultDeviationCoefficient(myResult, Attributes());
- AIS_Shape::Compute(thePresentationManager, thePresentation, theMode);
+ try {
+ AIS_Shape::Compute(thePresentationManager, thePresentation, theMode);
+ }
+ catch (...) {
+ return;
+ }
// visualize hidden sub-shapes transparent
if (myTransparency < 1 && !myHiddenSubShapes.IsEmpty())