0022865: [CEA 1416] not possible to visualize the solids found by "Check compound of blocks" in defaut wireframe mode

This commit is contained in:
imn 2015-02-17 15:24:02 +03:00
parent 2ed03d35e6
commit f1efea0146

View File

@ -479,7 +479,7 @@ void MeasureGUI_CheckCompoundOfBlocksDlg::onSubShapesListSelectionChanged()
for ( it = aIds.begin(); it != aIds.end(); ++it ) { for ( it = aIds.begin(); it != aIds.end(); ++it ) {
aSubShape = anIndices.FindKey(aObjLst[(*it)]); aSubShape = anIndices.FindKey(aObjLst[(*it)]);
SUIT_ResourceMgr* resMgr = SUIT_Session::session()->resourceMgr(); SUIT_ResourceMgr* resMgr = SUIT_Session::session()->resourceMgr();
int w = resMgr->integerValue("Geometry", "measures_line_width", 1); int w = resMgr->integerValue("Geometry", "preview_edge_width", 1);
try { try {
getDisplayer()->SetColor( Quantity_NOC_RED ); getDisplayer()->SetColor( Quantity_NOC_RED );
getDisplayer()->SetWidth( w ); getDisplayer()->SetWidth( w );