Merge pull request #5625 from nutty898/develop_nutty_modify_framework_for315CrashFixed

Fixed crash
This commit is contained in:
minggo 2014-03-07 19:39:54 +08:00
Родитель d06c5a43c0 e38fc52d15
Коммит ae791388ab
1 изменённых файлов: 11 добавлений и 11 удалений

Просмотреть файл

@ -72,17 +72,17 @@ bool AppDelegate::applicationDidFinishLaunching()
{
auto resourceSize = Size(960, 640);
searchPaths.push_back("hd");
// searchPaths.push_back("hd/scenetest");
// searchPaths.push_back("hd/scenetest/ArmatureComponentTest");
// searchPaths.push_back("hd/scenetest/AttributeComponentTest");
// searchPaths.push_back("hd/scenetest/BackgroundComponentTest");
// searchPaths.push_back("hd/scenetest/EffectComponentTest");
// searchPaths.push_back("hd/scenetest/LoadSceneEdtiorFileTest");
// searchPaths.push_back("hd/scenetest/ParticleComponentTest");
// searchPaths.push_back("hd/scenetest/SpriteComponentTest");
// searchPaths.push_back("hd/scenetest/TmxMapComponentTest");
// searchPaths.push_back("hd/scenetest/UIComponentTest");
// searchPaths.push_back("hd/scenetest/TriggerTest");
searchPaths.push_back("hd/scenetest");
searchPaths.push_back("hd/scenetest/ArmatureComponentTest");
searchPaths.push_back("hd/scenetest/AttributeComponentTest");
searchPaths.push_back("hd/scenetest/BackgroundComponentTest");
searchPaths.push_back("hd/scenetest/EffectComponentTest");
searchPaths.push_back("hd/scenetest/LoadSceneEdtiorFileTest");
searchPaths.push_back("hd/scenetest/ParticleComponentTest");
searchPaths.push_back("hd/scenetest/SpriteComponentTest");
searchPaths.push_back("hd/scenetest/TmxMapComponentTest");
searchPaths.push_back("hd/scenetest/UIComponentTest");
searchPaths.push_back("hd/scenetest/TriggerTest");
director->setContentScaleFactor(resourceSize.height/designSize.height);
}
else