mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0027756: Visualization - add Draw() method taking Graphic3d_Group to tools Prs3d_Arrow, Prs3d_Text
and deprecate Draw() methods taking Prs3d_Presentation.
This commit is contained in:
@@ -77,7 +77,7 @@ static void DisplayText (const TDF_Label& aLabel,
|
||||
Standard_Real aXmin, aYmin, aZmin, aXmax, aYmax, aZmax;
|
||||
aBox.Get (aXmin, aYmin, aZmin, aXmax, aYmax, aZmax);
|
||||
gp_Pnt aPnt (0.5 * (aXmin + aXmax), 0.5 * (aYmin + aYmax), 0.5 * (aZmin + aZmax));
|
||||
Prs3d_Text::Draw( aPrs, anAspect, aName->Get(), aPnt);
|
||||
Prs3d_Text::Draw (Prs3d_Root::CurrentGroup (aPrs), anAspect, aName->Get(), aPnt);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user