fix bug with image export depth

Was sorting SWFs into layers by zone_id, not depth. Oops.
This commit is contained in:
Emi Matchu 2012-02-22 22:10:39 -06:00
parent baae0c9954
commit 1fdf1f7b45

View file

@ -1306,7 +1306,7 @@ Wardrobe.getStandardView = function (options) {
// order.
var assets = wardrobe.outfit.getVisibleAssets().slice(0);
assets.sort(function (a, b) {
return a.zone_id - b.zone_id;
return a.depth - b.depth;
});
for(var i = 0; i < assets.length; i++) {