From: dbv Date: Tue, 3 Jul 2012 14:55:57 +0000 (+0400) Subject: 0023123: Bug/Regression in visualization of XDE documents in shaded mode X-Git-Tag: V6_5_4_beta1~147 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=c983f7228d9a02b3e5cd3f9f4b1c9d219da1031c;p=occt-copy.git 0023123: Bug/Regression in visualization of XDE documents in shaded mode Added new group creation before adding styled item in XCAFPrs_AISObject::Compute --- diff --git a/src/XCAFPrs/XCAFPrs_AISObject.cxx b/src/XCAFPrs/XCAFPrs_AISObject.cxx index a7bf6ce4d7..b3d2a3cc2f 100755 --- a/src/XCAFPrs/XCAFPrs_AISObject.cxx +++ b/src/XCAFPrs/XCAFPrs_AISObject.cxx @@ -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 ); }