From d23f323cde8a1664d587b4fed1b8683be479ff40 Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Sun, 27 Aug 2017 19:03:19 -0300 Subject: [PATCH] -Moved script run to editor, removed from project -fixed to code completion -fix shader crash bug reported by tagcup --- drivers/gles3/shaders/scene.glsl | 1 - editor/editor_node.cpp | 27 +------------ editor/editor_node.h | 1 - editor/plugins/script_editor_plugin.cpp | 28 +++++++++++++ editor/plugins/script_editor_plugin.h | 1 + modules/gdscript/gd_editor.cpp | 53 ++++++++++++++++--------- 6 files changed, 64 insertions(+), 47 deletions(-) diff --git a/drivers/gles3/shaders/scene.glsl b/drivers/gles3/shaders/scene.glsl index c9e9dacdb58..c1504593cb4 100644 --- a/drivers/gles3/shaders/scene.glsl +++ b/drivers/gles3/shaders/scene.glsl @@ -1971,7 +1971,6 @@ FRAGMENT_SHADER_CODE #ifdef SHADELESS - frag_color=vec4(albedo,alpha); diffuse_buffer=vec4(albedo.rgb,0.0); specular_buffer=vec4(0.0); diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index f724cba3efc..c376efca341 100644 --- a/editor/editor_node.cpp +++ b/editor/editor_node.cpp @@ -56,7 +56,6 @@ #include "editor/editor_help.h" #include "editor/editor_initialize_ssl.h" #include "editor/editor_settings.h" -#include "editor/editor_settings.h" #include "editor/editor_themes.h" #include "editor/import/editor_import_collada.h" #include "editor/import/editor_scene_importer_gltf.h" @@ -972,26 +971,6 @@ void EditorNode::_dialog_action(String p_file) { //would be nice to show the project manager opened with the highlighted field.. _run(false, ""); // automatically run the project } break; - case FILE_RUN_SCRIPT: { - - Ref