Fix step model colors again
Fixes https://gitlab.com/kicad/code/kicad/-/issues/13882
This commit is contained in:
parent
e8e407dfba
commit
df022acc11
|
@ -1000,13 +1000,15 @@ bool processLabel( const TDF_Label& aLabel, DATA& aData, SGNODE* aParent,
|
|||
ret = true;
|
||||
}
|
||||
|
||||
// Get all shells, avoid those that may be attached to solids
|
||||
for( xp.Init( shape, TopAbs_SHELL, TopAbs_SOLID ); xp.More(); xp.Next() )
|
||||
{
|
||||
processShell( xp.Current(), aData, pptr, aItems, nullptr );
|
||||
ret = true;
|
||||
}
|
||||
|
||||
for( xp.Init( shape, TopAbs_FACE ); xp.More(); xp.Next() )
|
||||
// Get all faces, avoid those that may be attached to shells
|
||||
for( xp.Init( shape, TopAbs_FACE, TopAbs_SHELL ); xp.More(); xp.Next() )
|
||||
{
|
||||
const TopoDS_Face& face = TopoDS::Face( xp.Current() );
|
||||
processFace( face, aData, pptr, aItems, nullptr );
|
||||
|
|
|
@ -37,7 +37,7 @@ SCENEGRAPH* LoadModel( char const* filename );
|
|||
|
||||
#define PLUGIN_OCE_MAJOR 1
|
||||
#define PLUGIN_OCE_MINOR 4
|
||||
#define PLUGIN_OCE_PATCH 0
|
||||
#define PLUGIN_OCE_PATCH 1
|
||||
#define PLUGIN_OCE_REVNO 0
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue