mirror of https://github.com/axmolengine/axmol.git
Readd the lua binding for `visit` and modify a requirement for IDE
This commit is contained in:
parent
6e76ca7945
commit
f76e2a5476
|
@ -65,4 +65,8 @@ fileUtils:setSearchPaths(searchPaths)
|
||||||
|
|
||||||
local scene = cc.Scene:create()
|
local scene = cc.Scene:create()
|
||||||
scene:addChild(CreateTestMenu())
|
scene:addChild(CreateTestMenu())
|
||||||
cc.Director:getInstance():runWithScene(scene)
|
if cc.Director:getInstance():getRunningScene() then
|
||||||
|
cc.Director:getInstance():replaceScene(scene)
|
||||||
|
else
|
||||||
|
cc.Director:getInstance():runWithScene(scene)
|
||||||
|
end
|
||||||
|
|
|
@ -101,7 +101,7 @@ skip = Node::[setGLServerState description getUserObject .*UserData getGLServerS
|
||||||
Scheduler::[pause resume unschedule schedule update isTargetPaused isScheduled performFunctionInCocosThread],
|
Scheduler::[pause resume unschedule schedule update isTargetPaused isScheduled performFunctionInCocosThread],
|
||||||
TextureCache::[addPVRTCImage addImageAsync],
|
TextureCache::[addPVRTCImage addImageAsync],
|
||||||
Timer::[getSelector createWithScriptHandler],
|
Timer::[getSelector createWithScriptHandler],
|
||||||
*::[^visit$ copyWith.* onEnter.* onExit.* ^description$ getObjectType (g|s)etDelegate onTouch.* onAcc.* onKey.* onRegisterTouchListener],
|
*::[copyWith.* onEnter.* onExit.* ^description$ getObjectType (g|s)etDelegate onTouch.* onAcc.* onKey.* onRegisterTouchListener],
|
||||||
FileUtils::[getFileData getDataFromFile getFullPathCache],
|
FileUtils::[getFileData getDataFromFile getFullPathCache],
|
||||||
Application::[^application.* ^run$],
|
Application::[^application.* ^run$],
|
||||||
Camera::[getEyeXYZ getCenterXYZ getUpXYZ],
|
Camera::[getEyeXYZ getCenterXYZ getUpXYZ],
|
||||||
|
|
Loading…
Reference in New Issue