Skip to content

Commit

Permalink
fix: getMaterialSemanticsVariantName()
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuki Shimada committed Dec 21, 2024
1 parent 5377f1f commit 2df3195
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/foundation/materials/core/AbstractMaterialContent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export abstract class AbstractMaterialContent extends RnObject {
getMaterialSemanticsVariantName() {
let semantics = '';
for (const semantic of this.__semantics) {
semantics += `${semantic.semantic}\n`;
semantics += JSON.stringify(semantic);
}

const hash = DataUtil.toCRC32(semantics);
Expand Down

0 comments on commit 2df3195

Please sign in to comment.