1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +03:00

0028306: Visualization - viewer crashes if style for shaded display is set to HATCH

Fixed NULL-dereference in OpenGl_Context::SetPolygonHatchStyle().
This commit is contained in:
kgv
2017-01-03 16:58:41 +03:00
committed by apn
parent acc909a893
commit ec7c343f23
4 changed files with 56 additions and 17 deletions

View File

@@ -49,7 +49,7 @@ public:
//! EdgeWidth : 1.0
//! FrontMaterial : NOM_BRASS
//! BackMaterial : NOM_BRASS
//! HatchStyle : Aspect_HS_VERTICAL
//! HatchStyle : Aspect_HS_SOLID
//!
//! Display of back-facing filled polygons.
//! No distinction between external and internal faces of FillAreas.