summaryrefslogtreecommitdiff
path: root/editor/editor_node.cpp
AgeCommit message (Collapse)Author
2018-10-02Fix warnings on virtual methods [-Woverloaded-virtual] ↵Rémi Verschelde
[-Wdelete-non-virtual-dtor] Fixes the following Clang 7 warnings: ``` editor/editor_help.h:123:7: warning: 'EditorHelpIndex::popup' hides overloaded virtual function [-Woverloaded-virtual] editor/editor_help.h:95:7: warning: 'EditorHelpSearch::popup' hides overloaded virtual function [-Woverloaded-virtual] editor/editor_help.h:96:7: warning: 'EditorHelpSearch::popup' hides overloaded virtual function [-Woverloaded-virtual] editor/plugins/curve_editor_plugin.h:141:15: warning: 'CurvePreviewGenerator::generate' hides overloaded virtual function [-Woverloaded-virtual] editor/plugins/script_editor_plugin.h:70:7: warning: 'ScriptEditorQuickOpen::popup' hides overloaded virtual function [-Woverloaded-virtual] editor/quick_open.h:69:7: warning: 'EditorQuickOpen::popup' hides overloaded virtual function [-Woverloaded-virtual] main/tests/test_io.cpp:53:15: warning: 'TestIO::TestMainLoop::input_event' hides overloaded virtual function [-Woverloaded-virtual] servers/audio/effects/audio_effect_record.h:69:15: warning: 'AudioEffectRecordInstance::process_silence' hides overloaded virtual function [-Woverloaded-virtual] core/os/memory.h:119:2: warning: destructor called on non-final 'ContextGL_X11' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] core/os/memory.h:119:2: warning: destructor called on non-final 'EditorScriptCodeCompletionCache' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] core/os/memory.h:119:2: warning: destructor called on non-final 'Engine' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] core/os/memory.h:119:2: warning: destructor called on non-final 'PhysicalBone::JointData' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] core/os/memory.h:119:2: warning: destructor called on non-final 'VisualServerScene' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] core/os/memory.h:119:2: warning: destructor called on non-final 'VisualServerViewport' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] ```
2018-10-02Merge pull request #22354 from evandropoa/resources_list_icon_issueRémi Verschelde
Fix icon issue for the resource list popup #22320.
2018-10-02Merge pull request #22364 from YeldhamDev/rect2_inspector_singlelineRémi Verschelde
Make Rect2 EditorProperty obey the horizontal setting
2018-09-29Fix warning about functions defined but not used [-Wunused-function]Rémi Verschelde
Fixes the following GCC 5 warnings: ``` core/io/zip_io.h:128:26: warning: 'zlib_filefunc_def zipio_create_io_from_file(FileAccess**)' defined but not used [-Wunused-function] core/script_debugger_remote.cpp:110:17: warning: 'ObjectID safe_get_instance_id(const Variant&)' defined but not used [-Wunused-function] drivers/unix/socket_helpers.h:103:12: warning: 'int _socket_create(IP::Type&, int, int)' defined but not used [-Wunused-function] drivers/unix/socket_helpers.h:45:15: warning: 'size_t _set_sockaddr(sockaddr_storage*, const IP_Address&, int, IP::Type)' defined but not used [-Wunused-function] drivers/unix/socket_helpers.h:76:15: warning: 'size_t _set_listen_sockaddr(sockaddr_storage*, int, IP::Type, IP_Address)' defined but not used [-Wunused-function] editor/editor_fonts.cpp:40:24: warning: 'Ref<BitmapFont> make_font(int, int, int, int, const int*, const Ref<Texture>&)' defined but not used [-Wunused-function] editor/editor_themes.cpp:85:26: warning: 'Ref<StyleBoxFlat> change_border_color(Ref<StyleBoxFlat>, Color)' defined but not used [-Wunused-function] editor/import/editor_import_collada.cpp:493:13: warning: 'void _generate_normals(const PoolVector<int>&, const PoolVector<Vector3>&, PoolVector<Vector3>&)' defined but not used [-Wunused-function] editor/import/editor_import_collada.cpp:524:13: warning: 'void _generate_tangents_and_binormals(const PoolVector<int>&, const PoolVector<Vector3>&, const PoolVector<Vector3>&, const PoolVector<Vector3>&, PoolVector<float>&)' defined but not used [-Wunused-function] editor/pvrtc_compress.cpp:118:13: warning: 'void _compress_etc(Image*)' defined but not used [-Wunused-function] modules/etc/image_etc.cpp:89:13: warning: 'void _decompress_etc1(Image*)' defined but not used [-Wunused-function] modules/etc/image_etc.cpp:93:13: warning: 'void _decompress_etc2(Image*)' defined but not used [-Wunused-function] modules/gdscript/editor/gdscript_highlighter.cpp:46:13: warning: 'bool _is_whitespace(CharType)' defined but not used [-Wunused-function] scene/2d/cpu_particles_2d.cpp:510:14: warning: 'float rand_from_seed_m1_p1(uint32_t&)' defined but not used [-Wunused-function] scene/3d/cpu_particles.cpp:474:14: warning: 'float rand_from_seed_m1_p1(uint32_t&)' defined but not used [-Wunused-function] scene/resources/default_theme/default_theme.cpp:123:20: warning: 'Ref<Shader> make_shader(const char*, const char*, const char*)' defined but not used [-Wunused-function] scene/resources/default_theme/default_theme.cpp:130:24: warning: 'Ref<BitmapFont> make_font(int, int, int, int, const int*, const Ref<Texture>&)' defined but not used [-Wunused-function] ``` Had to split `core/io/zip_io.h` into header and .cpp file without 'static' keyword. Not fixed yet (static definition in header used in some files but not all): ``` modules/websocket/lws_helper.h:111:13: warning: 'void _lws_make_protocols(void*, int (*)(lws*, lws_callback_reasons, void*, void*, size_t), PoolVector<String>, _LWSRef**)' defined but not used [-Wunused-function] ``` Also fixed a couple other warnings missed in previous commits.
2018-09-28Reflection probe support in GLES2 back-end.Juan Linietsky
2018-09-23Make Rect2 EditorProperty obey the horizontal settingMichael Alexsander Silva Dias
2018-09-22Fix issue #22320.Evandro Bitencourt
When a resource item doesn´t define a icon it should not use the theme default icon, the default theme icon is an error msg.
2018-09-20Merge pull request #22225 from groud/fix_draw_on_viewportRémi Verschelde
Fixes drawing of the 2D plugins on the 3D view
2018-09-20EditorNode: New default dock layoutRémi Verschelde
As discussed with @reduz, now that the FileSystem dock is getting files display in tree view (#21426), we can change the docks layout again to give more height to the new inspector. The new layout is thus: - Top left: Scene and Import docks - Bottom left: FileSystem - Right (full height): Inspector and Node docks The 2nd left (LEFT_R) and 1st right (RIGHT_L) VSplitContainers (the ones in use) also get an additional 40px of width compared to their previous size (which was the minimum size). Fixes #21480.
2018-09-20EditorNode: Reorder and cleanup initial dock setupRémi Verschelde
2018-09-20Merge pull request #21426 from groud/add_files_to_tree_viewRémi Verschelde
Add files to tree view
2018-09-18Fixes drawing of the 2D plugins on the 3D viewgroud
2018-09-15Bundle SSL certs with the templates.Fabio Alessandrelli
If this is undesired it can be avoided by specifying builtin_certs=no . Bundled SSL certs will be used unless you specify an override in: Project Settings -> SSL -> Certificates .
2018-09-15Fix video toggle UX issueRémi Verschelde
It was still functional but showing duplicate entries and thus "GLES2" for both GLES2 and GLES3 choices. Fixes #22089.
2018-09-14Refactor editor icon retrievalwillnationsdev
2018-09-14Replace the -show in filesystem- button by a RMB entrygroud
2018-09-14Merge the disable_split and show_files_in_tree settingsgroud
2018-09-14Add thumnails to the tree viewgroud
2018-09-13Use plain text instead of icons for video driver toggleRémi Verschelde
Fixes #21660, supersedes and closes #21724.
2018-09-13Merge pull request #21982 from luzpaz/misc-typosRémi Verschelde
Misc. typos
2018-09-12Misc. typosluz.paz
Found via `codespell -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"`
2018-09-11Fix project and editor data paths not being opened correctly on macOSHugo Locurcio
This closes #21904.
2018-09-11Replace last occurrences of PropertyEditor by EditorInspectorRémi Verschelde
Updates the following plugins: - ConnectionsDialog - ScriptEditorDebugger - ItemListEditorPlugin Also drop now unnecessary compatibility methods.
2018-09-11Merge pull request #21971 from scayze/window_title_updateRémi Verschelde
Update window title when switching scenes
2018-09-11update window title when switching scenesManuel Strey
2018-09-11Revert "Fix selection of spatial nodes after selecting a non-spatial one."Rémi Verschelde
2018-09-10Merge pull request #21835 from DualMatrix/save_branchRémi Verschelde
Prevent overwriting open scenes when saving
2018-09-07Prevent overwriting open scenes when savingDualMatrix
Prevent overwriting open scenes when saving, this fixes #17628
2018-09-07Fix selection of spatial nodes after selecting a non-spatial one.JFonS
Fixes #13849
2018-08-24Drop old ShaderGraph code, obsoleted by VisualShaderRémi Verschelde
2018-08-22Merge pull request #21274 from YeldhamDev/meshlib_editor_fixesRémi Verschelde
Fix MeshLibrary editor
2018-08-21Fix MeshLibrary editorMichael Alexsander Silva Dias
2018-08-21Merge pull request #21252 from vnen/remove-autoload-initRémi Verschelde
Disable scripting and physics early in EditorNode
2018-08-20Disable scripting and physics early in EditorNodeGeorge Marques
This avoids issues with scripts being instanced before this is set, like autoloads.
2018-08-20Massive rewrite to AnimationTree. Many APIs changed in order to:Juan Linietsky
-Reuse resources -Expose properties in AnimationTree
2018-08-15Merge pull request #19837 from willnationsdev/plugin-utilitiesRémi Verschelde
Add PluginConfigDialog.
2018-08-14Merge pull request #20997 from Gamblify/add_files_to_tree_viewRémi Verschelde
Add a way to disable the split view in the FileSystem dock
2018-08-14Avoid scripts from being opened in same inspector, closes #20111Juan Linietsky
2018-08-14Merge pull request #20621 from YeldhamDev/bottom_panel_minRémi Verschelde
Adjust bottom panel's minimal height for the expand icon
2018-08-14Add a way to disable the split viewgroud
Also add a parameter as the max height before split
2018-08-13Add warning color to output logChaosus
2018-08-08Fix a typo in a TTR() callHugo Locurcio
2018-08-08Merge pull request #20737 from Calinou/use-standard-button-textsJuan Linietsky
Use a standard "OK" text for confirmation buttons in error dialogs
2018-08-07Several improvements to inspector.Juan Linietsky
-Added optional horizontal/vertical modes for vector editing (default false for vec2, true for vec3) -Some clean ups with fonts and styles
2018-08-06Added proper import support for 3D and Array texturesJuan Linietsky
2018-08-05Use a standard "OK" text for confirmation buttons in error dialogsHugo Locurcio
[ci skip]
2018-08-04Implemented IKAndreaCatania
2018-07-30Adjust bottom panel's minimal height for the expand iconMichael Alexsander Silva Dias
2018-07-29It is now possible to import images as a separate resource, closes #5738 and ↵Juan Linietsky
likely many others
2018-07-29Merge pull request #15269 from ianb96/context_menu_improvementsJuan Linietsky
Context Menu Improvements