1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00

0023123: Bug/Regression in visualization of XDE documents in shaded mode

Added new group creation before adding styled item in XCAFPrs_AISObject::Compute
This commit is contained in:
dbv 2012-07-03 18:55:57 +04:00
parent d00cba631f
commit c983f7228d

View File

@ -457,6 +457,7 @@ void XCAFPrs_AISObject::Compute (const Handle(PrsMgr_PresentationManager3d)& aPr
//i++;
#endif
if (! s.IsVisible() ) continue;
Prs3d_Root::NewGroup(aPrs);
AddStyledItem ( s, it.Value(), aPresentationManager, aPrs, aMode );
}