0032143: Visualization - add option excluding transparent object from sorting
[occt.git] / src / ViewerTest / ViewerTest_ViewerCommands.cxx
index 5e37d27..1ddf765 100644 (file)
@@ -9640,6 +9640,11 @@ static int VClipPlane (Draw_Interpretor& theDi, Standard_Integer theArgsNb, cons
         {
           aMode = Graphic3d_AlphaMode_Blend;
         }
+        else if (aValStr == "maskblend"
+              || aValStr == "blendmask")
+        {
+          aMode = Graphic3d_AlphaMode_MaskBlend;
+        }
         else if (aValStr == "blendauto")
         {
           aMode = Graphic3d_AlphaMode_BlendAuto;