bruce-cesium 6.9.3 → 6.9.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -37079,7 +37079,13 @@
37079
37079
  */
37080
37080
  async function resolveTexturedFill(params) {
37081
37081
  const { api, style, entity, tags } = params;
37082
- const textureTrace = style.texture ? BModels.Calculator.TraceGetString(style.texture, entity, tags) : { value: null, effective: null };
37082
+ let textureRows = style.texture == null ? [] : style.texture;
37083
+ textureRows.forEach((row) => {
37084
+ if (row.type == BModels.Calculator.EValueType.Color) {
37085
+ row.type = BModels.Calculator.EValueType.Input;
37086
+ }
37087
+ });
37088
+ const textureTrace = textureRows.length ? BModels.Calculator.TraceGetString(textureRows, entity, tags) : { value: null, effective: null };
37083
37089
  const raw = textureTrace.value;
37084
37090
  if (!raw || typeof raw != "string" || !api) {
37085
37091
  return { dataUri: null, effective: textureTrace.effective };
@@ -38437,7 +38443,7 @@
38437
38443
  StyleUtils.ApplyTypeStyle = ApplyTypeStyle;
38438
38444
  })(exports.StyleUtils || (exports.StyleUtils = {}));
38439
38445
 
38440
- const VERSION = "6.9.3";
38446
+ const VERSION = "6.9.4";
38441
38447
  /**
38442
38448
  * Updates the environment instance used by bruce-cesium to one specified.
38443
38449
  * This can be used to ensure that the instance a parent is referencing is shared between bruce-cesium, bruce-models, and the parent app.