You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using 2.0.0-rc11 assetConversion.js to migrate my assets... I've seen at some of the assets i was migrating, that if there is PIXI.Graphics instance, it is generated twice but only in some cases - there, where I'm using the instance as a mask! - the line with the instance, line with draw commands and also the line for setRenderable.. and the instance name is the same, so the build fail.. All I have to do, is remove the duplicity and the assets are fine.. So, I'm writing just to let you check and maybe fix this, it it's not only some special case of mine. Good luck, Michal
The text was updated successfully, but these errors were encountered:
kulabros
changed the title
AssetConversion.js - PIXI.Graphics instance is generated twice and results in error
AssetConversion.js - PIXI.Graphics instance is generated twice when applied as mask and results in build error
Nov 25, 2021
To make sure I'm understanding this properly, this is a case where the original export from Animate created the (probably undesirable) duplication and the asset conversion script didn't handle that?
Hi, it was the case, where was original old format exported from Animate and I convert the script using assetConversion. The original export was ok. After it is converted, in come containers, where are graphics instances, that are applied to another instance in the container, the line with the code of the graphics instance of the mask graphics object and it's related calls, are generated twice. I'l leave here an example, but tomorrow.
Hi there,
I'm using 2.0.0-rc11 assetConversion.js to migrate my assets... I've seen at some of the assets i was migrating, that if there is PIXI.Graphics instance, it is generated twice but only in some cases - there, where I'm using the instance as a mask! - the line with the instance, line with draw commands and also the line for setRenderable.. and the instance name is the same, so the build fail.. All I have to do, is remove the duplicity and the assets are fine.. So, I'm writing just to let you check and maybe fix this, it it's not only some special case of mine. Good luck, Michal
The text was updated successfully, but these errors were encountered: