materials#current not in sync with GUI on Mac
on Mac, when you change the current material in the Material browser dialog, the method materials.current does not return the changed material. It is only when applied to an entity that the material is considered current.
This is inconsistent with Windows, where materials.current is always in sync with the material browser dialog.
Similarly, and probably due to the same issue, the materials observer does not fire the onMaterialSetCurrent event on Mac, whereas it does on Windows
I don't know if this has been logged already in this GitHub database, but this is an old bug, still present in SU2022. Basically, on Mac, the API has no way to know which material will be applied before it is applied.
Logged as: SKEXT-3400
Similarly, and probably due to the same issue, the materials observer does not fire the
onMaterialSetCurrentevent on Mac, whereas it does on Windows
Issue 341 : MaterialObserver::onMaterialSetCurrent behaviour different on windows/osx filed 1 OCT 2019 by @noelwarren
Also Issue #340 shows other Mac problems with the MaterialsObserver.
Also there is a Mac only bug with Sketchup::Materials#current=
SEE: Issue 571 : Materials#current= create a new material on first use
filed 14 NOV 2020 by @bbeaulant
This is still an issue as of October 21st 2024.
This is NOT an issue as of April 4th 2025!