|
@@ -624,6 +624,7 @@ export class Material implements IAnimatable {
|
|
* Locks updates for the material
|
|
* Locks updates for the material
|
|
*/
|
|
*/
|
|
public freeze(): void {
|
|
public freeze(): void {
|
|
|
|
+ this._wasPreviouslyReady = false;
|
|
this.checkReadyOnlyOnce = true;
|
|
this.checkReadyOnlyOnce = true;
|
|
}
|
|
}
|
|
|
|
|
|
@@ -631,6 +632,7 @@ export class Material implements IAnimatable {
|
|
* Unlocks updates for the material
|
|
* Unlocks updates for the material
|
|
*/
|
|
*/
|
|
public unfreeze(): void {
|
|
public unfreeze(): void {
|
|
|
|
+ this._wasPreviouslyReady = false;
|
|
this.checkReadyOnlyOnce = false;
|
|
this.checkReadyOnlyOnce = false;
|
|
}
|
|
}
|
|
|
|
|