From c983f7228d9a02b3e5cd3f9f4b1c9d219da1031c Mon Sep 17 00:00:00 2001 From: dbv Date: Tue, 3 Jul 2012 18:55:57 +0400 Subject: [PATCH] 0023123: Bug/Regression in visualization of XDE documents in shaded mode Added new group creation before adding styled item in XCAFPrs_AISObject::Compute --- src/XCAFPrs/XCAFPrs_AISObject.cxx | 1 + 1 file changed, 1 insertion(+) 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 ); }