1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-19 13:40:49 +03:00

0028215: Visualization - define EMPTY type line for consistenct with Interior Style

Added new values Aspect_TOL_EMPTY (line type) and Aspect_TOM_EMPTY (marker type).
This commit is contained in:
kgv
2016-12-13 12:36:41 +03:00
committed by apn
parent f79b19a17e
commit 3a4a396251
10 changed files with 112 additions and 126 deletions

View File

@@ -2934,6 +2934,7 @@ void OpenGl_Context::SetTypeOfLine (const Aspect_TypeOfLine theType,
aPattern = 0xFF18;
break;
}
case Aspect_TOL_EMPTY:
case Aspect_TOL_SOLID:
{
aPattern = 0xFFFF;
@@ -2954,7 +2955,7 @@ void OpenGl_Context::SetTypeOfLine (const Aspect_TypeOfLine theType,
}
#if !defined(GL_ES_VERSION_2_0)
if (theType != Aspect_TOL_SOLID)
if (aPattern != 0xFFFF)
{
#ifdef HAVE_GL2PS
if (IsFeedback())