If "source.data" is "undefined ", "source.serializeImage" will report an error, so set the default value to null Co-authored-by: binggong,x <[email protected]>
@@ -83,7 +83,7 @@ class Texture extends EventDispatcher {
}
- set image( value ) {
+ set image( value = null ) {
this.source.data = value;