CesiumGS / cesium-omniverse

Bringing the 3D geospatial ecosystem to Omniverse
https://cesium.com/platform/cesium-for-omniverse/
Apache License 2.0
55 stars 7 forks source link

Only print warnings for properties that are in use #655

Closed lilleyse closed 7 months ago

lilleyse commented 7 months ago

Fixes https://github.com/CesiumGS/cesium-omniverse/issues/588

lilleyse commented 7 months ago

I'm working on a more complete fix for https://github.com/CesiumGS/cesium-omniverse/issues/588, marked as draft in the meantime.

lilleyse commented 7 months ago

Updated so that warnings are only printed for properties that are in use.

This required storing property warnings in FabricMaterialDescriptor so that they could be accessed by FabricMaterial later. There were also some changes in MetadataUtil to make unsupported property handling more generic through callbacks.

lilleyse commented 7 months ago

Looking into a performance degradation with the new change