0022900: Problem with shape displaying in shading mode
[occt.git] / src / Prs3d / Prs3d_ShadedShape.gxx
index 52e9391..b5f6094 100755 (executable)
@@ -95,7 +95,7 @@ static Standard_Boolean ShadeFromShape(const anyShape&                    aShape
     } else {
       Asp->AllowBackFace();
     }
-    Prs3d_Root::CurrentGroup(aPresentation)->SetPrimitivesAspect(Asp);
+    Prs3d_Root::CurrentGroup(aPresentation)->SetGroupPrimitivesAspect(Asp);
   }
 
 #ifdef G005