mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-29 14:00:49 +03:00
0032725: Visualization - Graphic3d_Structure::SetDisplayPriority() should use public enumeration Graphic3d_DisplayPriority
Added new enumeration Graphic3d_DisplayPriority. Graphic3d_Layer now defines a fixed-length array of priorities. Properties Graphic3d_CStructure::Id, Priority, PreviousPriority have been wrapped into methods.
This commit is contained in:
@@ -240,7 +240,7 @@ void XCAFPrs_AISObject::Compute (const Handle(PrsMgr_PresentationManager)& thePr
|
||||
if (XCAFPrs::GetViewNameMode())
|
||||
{
|
||||
// Displaying Name attributes
|
||||
thePrs->SetDisplayPriority (10);
|
||||
thePrs->SetDisplayPriority (Graphic3d_DisplayPriority_Topmost);
|
||||
DisplayText (myLabel, thePrs, Attributes()->DimensionAspect()->TextAspect(), TopLoc_Location());//no location
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user