mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-08 14:17:06 +03:00
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).
(cherry picked from commit 9e6c2ff8600ac74b8ea2c87bfa0d37df1b18f546)
(cherry picked from commit 658c8e06d8
)
This commit is contained in:
@@ -24,7 +24,7 @@ struct Graphic3d_PolygonOffset
|
|||||||
Standard_ShortReal Units;
|
Standard_ShortReal Units;
|
||||||
|
|
||||||
//! Empty constructor.
|
//! 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
|
#endif // _Graphic3d_PolygonOffset_HeaderFile
|
||||||
|
Reference in New Issue
Block a user