mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-05-21 10:55:33 +03:00
0030657: Visualization - misprint in Graphic3d_ZLayerSettings::SetOrigin()
Add missing initialization of Geom_Transformation object.
This commit is contained in:
parent
1ec17fb48a
commit
130bc3c097
@ -71,6 +71,7 @@ struct Graphic3d_ZLayerSettings
|
|||||||
if (!theOrigin.IsEqual (gp_XYZ(0.0, 0.0, 0.0), gp::Resolution()))
|
if (!theOrigin.IsEqual (gp_XYZ(0.0, 0.0, 0.0), gp::Resolution()))
|
||||||
{
|
{
|
||||||
myOriginTrsf = new Geom_Transformation();
|
myOriginTrsf = new Geom_Transformation();
|
||||||
|
myOriginTrsf->SetTranslation (theOrigin);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user