Skip to content

Commit

Permalink
Fix case where shader could fail to compile
Browse files Browse the repository at this point in the history
  • Loading branch information
IMS212 committed Oct 4, 2023
1 parent e109c6e commit e7eb949
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ public static void transform(
// this happens before common to make sure the renaming of attributes is done on
// attribute inserted by this
if (parameters.inputs.hasOverlay()) {
if (!parameters.inputs.isText()) {
AttributeTransformer.patchOverlayColor(t, tree, root, parameters);
}
AttributeTransformer.patchOverlayColor(t, tree, root, parameters);
AttributeTransformer.patchEntityId(t, tree, root, parameters);
} else if (parameters.inputs.isText()) {
AttributeTransformer.patchEntityId(t, tree, root, parameters);
}

Expand Down

0 comments on commit e7eb949

Please sign in to comment.