Skip to content

Commit

Permalink
fix: cr suggest
Browse files Browse the repository at this point in the history
  • Loading branch information
czizzy committed Jul 29, 2021
1 parent bc3142d commit 10ca95b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/loader/src/scene-loader/resources/GLTFResource.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export class GLTFResource extends SchemaResource {
}
}
};
if (materials && materials.length) {
if (materials?.length) {
for (let i = 0; i < materials.length; i++) {
const material = materials[i];
let materialResource = null;
Expand Down

0 comments on commit 10ca95b

Please sign in to comment.