From 9e6c2ff8600ac74b8ea2c87bfa0d37df1b18f546 Mon Sep 17 00:00:00 2001 From: tiv Date: Fri, 17 May 2019 12:01:01 +0300 Subject: [PATCH] 0030716: Visualization - Set polygon offset units property to 1.0 The default value of the Units property of the Graphic3d_PolygonOffset class is changed to 1.0f (instead of 0.0f used previously). --- src/Graphic3d/Graphic3d_PolygonOffset.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Graphic3d/Graphic3d_PolygonOffset.hxx b/src/Graphic3d/Graphic3d_PolygonOffset.hxx index 74c9ed1618..91c774c33a 100644 --- a/src/Graphic3d/Graphic3d_PolygonOffset.hxx +++ b/src/Graphic3d/Graphic3d_PolygonOffset.hxx @@ -24,7 +24,7 @@ struct Graphic3d_PolygonOffset Standard_ShortReal Units; //! Empty constructor. - Graphic3d_PolygonOffset() : Mode(Aspect_POM_Fill), Factor (1.0f), Units (0.0f) {} + Graphic3d_PolygonOffset() : Mode(Aspect_POM_Fill), Factor (1.0f), Units (1.0f) {} }; #endif // _Graphic3d_PolygonOffset_HeaderFile -- 2.39.5