Salome HOME
Make SHAPER STUDY fields exported in SMESH into MED file
[modules/shaper.git] / src / GeomAPI / GeomAPI_AISObject.cpp
index 7a86b1e8c410e3e88eb24f06bc2c76febad1d672..45f57fa5a241a7a8b3012b8d0fe7c5f8a8d65b2e 100644 (file)
@@ -406,6 +406,10 @@ bool GeomAPI_AISObject::setDeflection(const double theDeflection)
       if (fabs(aCoefficient-theDeflection) > Precision::Confusion()) {
         isModified = true;
         anAISShape->SetOwnDeviationCoefficient(theDeflection);
+        Handle(Prs3d_Drawer) aDrawer = anAISShape->DynamicHilightAttributes();
+        if (!aDrawer.IsNull()) {
+          aDrawer->SetDeviationCoefficient(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.