Add bitmap resolution so that required proptype warning stops

This commit is contained in:
DD Liu 2018-07-12 17:25:53 -04:00
parent 1c74c9028c
commit 46918f266e

View file

@ -28,6 +28,7 @@ const loadVector_ = function (costume, costumeAsset, runtime, rotationCenter, op
rotationCenter = runtime.renderer.getSkinRotationCenter(costume.skinId);
costume.rotationCenterX = rotationCenter[0];
costume.rotationCenterY = rotationCenter[1];
costume.bitmapResolution = 1;
}
return costume;