Merge branch 'master' of https://github.com/okamstudio/godot
This commit is contained in:
commit
a65edb4caa
4 changed files with 17 additions and 3 deletions
11
SConstruct
11
SConstruct
|
@ -173,6 +173,17 @@ for p in platform_list:
|
||||||
env['CCFLAGS'] = ''
|
env['CCFLAGS'] = ''
|
||||||
|
|
||||||
env.Append(CCFLAGS=string.split(str(CCFLAGS)))
|
env.Append(CCFLAGS=string.split(str(CCFLAGS)))
|
||||||
|
|
||||||
|
CFLAGS = env.get('CFLAGS', '')
|
||||||
|
env['CFLAGS'] = ''
|
||||||
|
|
||||||
|
env.Append(CFLAGS=string.split(str(CFLAGS)))
|
||||||
|
|
||||||
|
LINKFLAGS = env.get('LINKFLAGS', '')
|
||||||
|
env['LINKFLAGS'] = ''
|
||||||
|
|
||||||
|
env.Append(LINKFLAGS=string.split(str(LINKFLAGS)))
|
||||||
|
|
||||||
detect.configure(env)
|
detect.configure(env)
|
||||||
env['platform'] = p
|
env['platform'] = p
|
||||||
if not env.has_key('platform_libsuffix'):
|
if not env.has_key('platform_libsuffix'):
|
||||||
|
|
|
@ -129,8 +129,8 @@ def configure(env):
|
||||||
else:
|
else:
|
||||||
VC_PATH=""
|
VC_PATH=""
|
||||||
|
|
||||||
env.Append(CCFLAGS=["/I"+VC_PATH+"/Include"])
|
env.Append(CCFLAGS=["/I" + p for p in os.getenv("INCLUDE").split(";")])
|
||||||
env.Append(LIBPATH=[VC_PATH+"/Lib"])
|
env.Append(LIBPATH=[p for p in os.getenv("LIB").split(";")])
|
||||||
env.Append(CCFLAGS=["/I"+DIRECTX_PATH+"/Include"])
|
env.Append(CCFLAGS=["/I"+DIRECTX_PATH+"/Include"])
|
||||||
env.Append(LIBPATH=[DIRECTX_PATH+"/Lib/x86"])
|
env.Append(LIBPATH=[DIRECTX_PATH+"/Lib/x86"])
|
||||||
env['ENV'] = os.environ;
|
env['ENV'] = os.environ;
|
||||||
|
|
|
@ -1407,6 +1407,9 @@ void SpatialEditorViewport::_sinput(const InputEvent &p_event) {
|
||||||
|
|
||||||
} break;
|
} break;
|
||||||
|
|
||||||
|
case KEY_F: {
|
||||||
|
_menu_option(VIEW_CENTER_TO_SELECTION);
|
||||||
|
} break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -181,7 +181,7 @@ void ScenesDock::_instance_pressed() {
|
||||||
if (!sel)
|
if (!sel)
|
||||||
return;
|
return;
|
||||||
String path = sel->get_metadata(0);
|
String path = sel->get_metadata(0);
|
||||||
emit_signal("instance","res://"+path);
|
emit_signal("instance",path);
|
||||||
}
|
}
|
||||||
|
|
||||||
void ScenesDock::_open_pressed(){
|
void ScenesDock::_open_pressed(){
|
||||||
|
|
Loading…
Reference in a new issue