Partial STEPS models loosing colors

Description

When some 3D PCB project (board) is exported like WRL+STEP and imported into other project it will loose colors during final STEP exporting.

Steps to reproduce

  1. Create/open existing PCB project
  2. Export 3D PCB model as WRL and STEP
    • colors are fine (checked with FreeCAD)
  3. Put newly created model into footprint library
  4. Create new project
  5. Import footprint model into PCB
  6. Export PCB model as STEP
    • only the actual model has colors, all others partially included don't (check with FreeCAD)

I was expecting, that all models included in STEP will have the colors as well.

KiCad Version

Application: KiCad arm64 on arm64

Version: (7.0.0-0), release build

Libraries:
	wxWidgets 3.2.1
	FreeType 2.12.1
	HarfBuzz 5.3.1
	FontConfig 2.14.0
	libcurl/7.86.0 SecureTransport (LibreSSL/3.3.6) zlib/1.2.11 nghttp2/1.47.0

Platform: macOS Ventura Version 13.2.1 (Build 22D68), 64 bit, Little endian, wxMac

Build Info:
	Date: Feb 12 2023 10:56:31
	wxWidgets: 3.2.1 (wchar_t,wx containers)
	Boost: 1.80.0
	OCC: 7.6.3
	Curl: 7.77.0
	ngspice: 38
	Compiler: Clang 13.0.0 with C++ ABI 1002

Build settings:
	KICAD_SPICE=ON
Edited by Andrej Valek