mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-12 09:40:35 +05:00
0022777: [CEA 1291] Display the name of an object in the 3D View (fixed problem for SMESH module)
This commit is contained in:
parent
1344a93905
commit
dd3f6ee542
@ -446,6 +446,9 @@ void
|
||||
GEOM_Actor
|
||||
::SetShapeName(const TopoDS_Shape& theShape)
|
||||
{
|
||||
if( !getIO() )
|
||||
return;
|
||||
|
||||
gp_Ax3 anAx3 = GEOMUtils::GetPosition(theShape);
|
||||
double center[3] = { anAx3.Location().X(),
|
||||
anAx3.Location().Y(),
|
||||
|
Loading…
Reference in New Issue
Block a user