diff --git a/src/Graphic3d/Graphic3d_ZLayerSettings.hxx b/src/Graphic3d/Graphic3d_ZLayerSettings.hxx index 25ee49ef3a..fa2233c393 100644 --- a/src/Graphic3d/Graphic3d_ZLayerSettings.hxx +++ b/src/Graphic3d/Graphic3d_ZLayerSettings.hxx @@ -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); } }