Do not delete bitmap resolution property when vector is edited because there are other things that still rely on it.

This commit is contained in:
Karishma Chadha 2018-05-04 13:37:07 -04:00
parent d5c91c3b41
commit 0156dd139d

View file

@ -669,7 +669,6 @@ class VirtualMachine extends EventEmitter {
// so the dataFormat should be 'svg' // so the dataFormat should be 'svg'
costume.dataFormat = storage.DataFormat.SVG; costume.dataFormat = storage.DataFormat.SVG;
costume.md5 = `${costume.assetId}.${costume.dataFormat}`; costume.md5 = `${costume.assetId}.${costume.dataFormat}`;
delete costume.bitmapResolution;
this.emitTargetsUpdate(); this.emitTargetsUpdate();
} }