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:
c55c087
)
Set default deflection for Arc presentation(not result)
author
nds
<nds@opencascade.com>
Thu, 8 Sep 2016 08:09:05 +0000
(11:09 +0300)
committer
nds
<nds@opencascade.com>
Thu, 8 Sep 2016 08:09:48 +0000
(11:09 +0300)
src/SketchPlugin/SketchPlugin_Arc.cpp
patch
|
blob
|
history
diff --git
a/src/SketchPlugin/SketchPlugin_Arc.cpp
b/src/SketchPlugin/SketchPlugin_Arc.cpp
index 07c4d3ee5649abb0ab136380105425b5a471c4a3..4de5125106cb02038952369b76739524bc415c71 100644
(file)
--- a/
src/SketchPlugin/SketchPlugin_Arc.cpp
+++ b/
src/SketchPlugin/SketchPlugin_Arc.cpp
@@
-244,6
+244,9
@@
AISObjectPtr SketchPlugin_Arc::getAISObject(AISObjectPtr thePrevious)
if (!anAIS)
anAIS = AISObjectPtr(new GeomAPI_AISObject);
anAIS->createShape(aCompound);
+ double aDeflection = Config_PropManager::real("Visualization", "construction_deflection",
+ ModelAPI_ResultConstruction::DEFAULT_DEFLECTION());
+ anAIS->setDeflection(aDeflection);
anAIS->setWidth(3);
return anAIS;
}