diff --git a/plugins/3d/oce/loadmodel.cpp b/plugins/3d/oce/loadmodel.cpp index 81ea5d2735..3d652627fc 100644 --- a/plugins/3d/oce/loadmodel.cpp +++ b/plugins/3d/oce/loadmodel.cpp @@ -1020,7 +1020,7 @@ bool processLabel( const TDF_Label& aLabel, DATA& aData, SGNODE* aParent, if( nullptr != aItems ) aItems->push_back( pptr ); - if( stype != TopAbs_SOLID && shapeLabel.HasChild() ) + if( !aData.m_assy->IsSimpleShape( shapeLabel ) && shapeLabel.HasChild() ) { wxLogTrace( MASK_OCE, wxT( "Label %s has children" ), labelTag ); TDF_ChildIterator it;