When create a DynamicTexture with size {width:0, height:number} , the code `if (options.width) { ... }` will take a wrong result. example : in babylon.gui , there is one line like this : ``` var result = new AdvancedDynamicTexture(name, 0, 0, scene, false, sampling); ``` the result's size will be {width:0, height:0} when I use `result.getSize()` the create a new DynamicTexture , will take some mistakes.
|
|||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|