From 46918f266e0a6ffa46c7e41b4bb9887772dfaf7e Mon Sep 17 00:00:00 2001 From: DD Liu Date: Thu, 12 Jul 2018 17:25:53 -0400 Subject: [PATCH] Add bitmap resolution so that required proptype warning stops --- src/import/load-costume.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/import/load-costume.js b/src/import/load-costume.js index 932e1fc8a..ee0b6474a 100644 --- a/src/import/load-costume.js +++ b/src/import/load-costume.js @@ -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;