aboutsummaryrefslogtreecommitdiff
path: root/tools/editor/editor_run_native.cpp
diff options
context:
space:
mode:
authorJuan Linietsky2014-05-29 10:56:39 -0300
committerJuan Linietsky2014-05-29 10:56:39 -0300
commit6f0b4678e26c04abfc88c0226c803e78a108de98 (patch)
tree51b99b2ece75e5782c0b14c97bb6913c48e7f363 /tools/editor/editor_run_native.cpp
parentd9adf2627a70ab37408aca9ae4140c6280dfe6df (diff)
downloadgodot-6f0b4678e26c04abfc88c0226c803e78a108de98.tar.gz
godot-6f0b4678e26c04abfc88c0226c803e78a108de98.tar.zst
godot-6f0b4678e26c04abfc88c0226c803e78a108de98.zip
More 3D Improvements
-=-=-=-=-=-=-=-=-=-= -Sprite3D and AnimatedSprite3D support. -Opaque pre-pass works, is compatible with shadows -Improved shadow map rendering (can differentiate between plain opaque and opaque with shaders/discard/etc) -Added option to use alpha discard in FixedMaterial -Improved Glow FX, many more options (three modes, Additive, Screen and SoftLight), strength and scale -Ability for Background (image or cubemap) to send to glow buffer -Dumb Deploy of clients now actually works in Android -Many Many rendering fixes, 3D is much more usable now.
Diffstat (limited to 'tools/editor/editor_run_native.cpp')
-rw-r--r--tools/editor/editor_run_native.cpp14
1 files changed, 13 insertions, 1 deletions
diff --git a/tools/editor/editor_run_native.cpp b/tools/editor/editor_run_native.cpp
index a0e04814a..be1a124fc 100644
--- a/tools/editor/editor_run_native.cpp
+++ b/tools/editor/editor_run_native.cpp
@@ -101,7 +101,7 @@ void EditorRunNative::_run_native(int p_idx,const String& p_platform) {
Ref<EditorExportPlatform> eep = EditorImportExport::get_singleton()->get_export_platform(p_platform);
ERR_FAIL_COND(eep.is_null());
- eep->run(p_idx);
+ eep->run(p_idx,deploy_dumb);
}
void EditorRunNative::_bind_methods() {
@@ -109,8 +109,20 @@ void EditorRunNative::_bind_methods() {
ObjectTypeDB::bind_method("_run_native",&EditorRunNative::_run_native);
}
+void EditorRunNative::set_deploy_dumb(bool p_enabled) {
+
+ deploy_dumb=p_enabled;
+}
+
+bool EditorRunNative::is_deploy_dumb_enabled() const{
+
+ return deploy_dumb;
+}
+
+
EditorRunNative::EditorRunNative()
{
set_process(true);
first=true;
+ deploy_dumb=false;
}