From 8fd45ae74f62dfe1dd49d02a097ec5d7d733b6b5 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 f03fc43592..6bc5d09297 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) {} //! Equality comparison. bool operator== (const Graphic3d_PolygonOffset& theOther) const