update annotation

This commit is contained in:
Liam 2015-08-20 18:04:49 +08:00
parent aa6f2ec4b6
commit 788be3016a
1 changed files with 1 additions and 1 deletions

View File

@ -235,7 +235,7 @@ namespace cocostudio
tmx = TMXTiledMap::create(path); tmx = TMXTiledMap::create(path);
if (tmx) if (tmx)
{ {
//先保存资源的尺寸,等编辑器的数据设置完成后,再刷回资源尺寸,防止数据中尺寸和资源部匹配 //prevent that editor's data does not match in size and resources
Size fileSize = tmx->getContentSize(); Size fileSize = tmx->getContentSize();
setPropsWithFlatBuffers(tmx, (Table*)gameMapOptions); setPropsWithFlatBuffers(tmx, (Table*)gameMapOptions);
tmx->setContentSize(fileSize); tmx->setContentSize(fileSize);