mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-13 14:27:08 +03:00
0030657: Visualization - misprint in Graphic3d_ZLayerSettings::SetOrigin()
Add missing initialization of Geom_Transformation object.
This commit is contained in:
@@ -71,6 +71,7 @@ struct Graphic3d_ZLayerSettings
|
||||
if (!theOrigin.IsEqual (gp_XYZ(0.0, 0.0, 0.0), gp::Resolution()))
|
||||
{
|
||||
myOriginTrsf = new Geom_Transformation();
|
||||
myOriginTrsf->SetTranslation (theOrigin);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user