Fixed region scale.

This commit is contained in:
NathanSweet 2016-03-31 14:07:43 +02:00
parent e114f04bba
commit 3da9f83501

View File

@ -276,8 +276,8 @@ public class SkeletonBinary {
region.setScaleX(scaleX);
region.setScaleY(scaleY);
region.setRotation(rotation);
region.setWidth(width);
region.setHeight(height);
region.setWidth(width * scale);
region.setHeight(height * scale);
Color.rgba8888ToColor(region.getColor(), color);
region.updateOffset();
return region;
@ -390,7 +390,6 @@ public class SkeletonBinary {
mesh.setWidth(width * scale);
mesh.setHeight(height * scale);
}
// BOZO - Store to look up source attachment later.
return mesh;
}
case weightedlinkedmesh: {