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:
@@ -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())
|
||||
|
Reference in New Issue
Block a user