mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-03 14:10:33 +03:00
0025540: Visualization - discretization of the circle differs in shaded and wireframe modes.
1. "HilightDrawer" were added to SelectMgr_SelectableObject. 2. Static drawer in StdSelect_Shape was replaced by class member. It's value is taken from special HilightDrawer of Selectable() object. 3. Computed relative deflection is stored as absolute deflection to be used for sub-shapes. 4. The ColoredShape object was updated to use for sub-shapes relative deflection computed for main shape. 5. Test case was added. Tuning of test-case bug25532
This commit is contained in:
@@ -74,7 +74,7 @@ namespace
|
||||
if (!aShapeIter.More())
|
||||
{
|
||||
// compound contains no shaded elements at all
|
||||
StdPrs_WFShape::Add (thePrs, theShape, theDrawer);
|
||||
StdPrs_WFDeflectionShape::Add (thePrs, theShape, theDrawer);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -103,7 +103,7 @@ namespace
|
||||
}
|
||||
if (hasElement)
|
||||
{
|
||||
StdPrs_WFShape::Add (thePrs, aCompoundWF, theDrawer);
|
||||
StdPrs_WFDeflectionShape::Add (thePrs, aCompoundWF, theDrawer);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user