0027670: Visualization - avoid duplication of structures defining primitive array...
[occt.git] / src / AIS / AIS_TexturedShape.cxx
index 362362d..2e249ef 100644 (file)
@@ -384,16 +384,6 @@ void AIS_TexturedShape::updateAttributes (const Handle(Prs3d_Presentation)& theP
     {
       continue;
     }
-
-    if (aGroup->IsClosed())
-    {
-      myAspect->SuppressBackFace();
-    }
-    else
-    {
-      myAspect->AllowBackFace();
-    }
-
     aGroup->SetGroupPrimitivesAspect (myAspect);
   }
 }