More work on replaceGeometry

This commit is contained in:
Pieter Vander Vennet 2022-01-01 01:59:50 +01:00
parent ba4f4ac685
commit 7124cd184c
4 changed files with 291 additions and 48 deletions

View file

@ -53,7 +53,7 @@ export class SubstitutedTranslation extends VariableUiElement {
return viz.func.constr(State.state, tagsSource, proto.special.args, DefaultGuiState.state).SetStyle(proto.special.style);
} catch (e) {
console.error("SPECIALRENDERING FAILED for", tagsSource.data?.id, e)
return new FixedUiElement(`Could not generate special rendering for ${viz.func}(${viz.args.join(", ")}) ${e}`).SetStyle("alert")
return new FixedUiElement(`Could not generate special rendering for ${viz.func.funcName}(${viz.args.join(", ")}) ${e}`).SetStyle("alert")
}
}
))