Skip to content

Commit

Permalink
Merge pull request BabylonJS#8 from torchesburn/decal-map-uv-seam-fix
Browse files Browse the repository at this point in the history
remove unnecessary this.texture in conditional
  • Loading branch information
torchesburn committed Dec 6, 2023
2 parents 34b09e1 + 9755114 commit 1e92996
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/dev/core/src/Meshes/meshUVSpaceRenderer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ export class MeshUVSpaceRenderer {
public renderTexture(texture: BaseTexture, position: Vector3, normal: Vector3, size: Vector3, angle = 0): void {
if (!this.texture) {
this._createDiffuseRTT();
} else if (this.texture && !this._userCreatedTextureConfigured) {
} else if (!this._userCreatedTextureConfigured) {
this._configureUserCreatedRTT();
}

Expand Down

0 comments on commit 1e92996

Please sign in to comment.