|
|
|
@ -983,6 +983,12 @@ export class WorkingAreaComponent extends EventEmitter implements OnInit, AfterV
|
|
|
|
|
if (imageAngle === undefined || imageAngle === null) { |
|
|
|
|
imageAngle = 0; |
|
|
|
|
} |
|
|
|
|
if (imageWidth === undefined || imageWidth === null || imageWidth === 0) { |
|
|
|
|
imageWidth = 1; |
|
|
|
|
} |
|
|
|
|
if (imageHeight === undefined || imageHeight === null || imageHeight === 0) { |
|
|
|
|
imageHeight = 1; |
|
|
|
|
} |
|
|
|
|
this.backgroundImage.scale.set(1); |
|
|
|
|
if (imageUrl === undefined || imageUrl === null || imageUrl === '') { |
|
|
|
|
this.backgroundImage.texture = this.backgroundTexture; |
|
|
|
|