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
(cherry picked from commit b438810b6b
)
This commit is contained in:
parent
f8d15a641a
commit
9367b7f309
|
@ -1021,7 +1021,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