Problem Description
Image Deduplication doesn't work properly, if sprite has an animation which re-uses the same frame in several places (e.g. in A B A C A D or A A A A A A form)
Attach a Capx
[attachment=0:15c465xx][/attachment:15c465xx]
Description of Capx
Sprite with a tree animation.
Steps to Reproduce Bug
- Edit Sprite animations.
- Duplicate frame №0 3 times or duplicate animation "Default" 3 times (or how much times you want)
- Export to html5 or cocoonjs or anything else
- Open destination folder and see that in spritesheet you have 4 same pictures (Or more).
Observed Result
Construct 2 exports 4 absolutely same frames to a spritesheet and deduplication doesn't delete the unnecessary pics.
Expected Result
Construct 2 looks for and removes duplicate images. Interesting that if i clone Sprite object type, deduplication works properly and only 1 frame exported.
Affected Browsers
- Chrome: (YES)
- FireFox: (YES)
- Internet Explorer: (YES)
Operating System and Service Pack
Windows 7 64bit, Windows 8 64bit.
Construct 2 Version ID
r173