Fix double parsing solids from step models resulting in triangle z-fighting
Fix https://gitlab.com/kicad/code/kicad/-/issues/9416 Fix https://gitlab.com/kicad/code/kicad/-/issues/9835 Fix https://gitlab.com/kicad/code/kicad/-/issues/10554
This commit is contained in:
parent
aa2c8e9b0c
commit
b438810b6b
|
@ -1020,7 +1020,7 @@ bool processLabel( const TDF_Label& aLabel, DATA& aData, SGNODE* aParent,
|
|||
if( nullptr != aItems )
|
||||
aItems->push_back( pptr );
|
||||
|
||||
if( shapeLabel.HasChild() )
|
||||
if( stype != TopAbs_SOLID && shapeLabel.HasChild() )
|
||||
{
|
||||
wxLogTrace( MASK_OCE, wxT( "Label %s has children" ), labelTag );
|
||||
TDF_ChildIterator it;
|
||||
|
|
|
@ -37,7 +37,7 @@ SCENEGRAPH* LoadModel( char const* filename );
|
|||
|
||||
#define PLUGIN_OCE_MAJOR 1
|
||||
#define PLUGIN_OCE_MINOR 3
|
||||
#define PLUGIN_OCE_PATCH 0
|
||||
#define PLUGIN_OCE_PATCH 1
|
||||
#define PLUGIN_OCE_REVNO 0
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue