Commit graph

2906 commits

Author SHA1 Message Date
Rémi Verschelde 277b24dfb7 Make core/ includes absolute, remove subfolders from include path
This allows more consistency in the manner we include core headers,
where previously there would be a mix of absolute, relative and
include path-dependent includes.
2018-09-12 09:52:22 +02:00
Rémi Verschelde ed8b75a3e1 Drop obsolete PropertyEditor and SectionedPropertyEditor code
Replaced by EditorInspector.
2018-09-11 16:16:11 +02:00
Rémi Verschelde 45b609f46a Replace last occurrences of PropertyEditor by EditorInspector
Updates the following plugins:
- ConnectionsDialog
- ScriptEditorDebugger
- ItemListEditorPlugin

Also drop now unnecessary compatibility methods.
2018-09-11 16:09:19 +02:00
Rémi Verschelde 4c37ea59be
Merge pull request #21971 from scayze/window_title_update
Update window title when switching scenes
2018-09-11 13:03:11 +02:00
Manuel Strey 909885642a update window title when switching scenes 2018-09-11 12:28:32 +02:00
Rémi Verschelde 0471386a97
Revert "Fix selection of spatial nodes after selecting a non-spatial one." 2018-09-11 11:30:48 +02:00
Rémi Verschelde 96014b6391
Merge pull request #21911 from groud/fix_locked_nodes
Fixes 2D nodes lock not working
2018-09-10 23:43:25 +02:00
Rémi Verschelde efeb88b102
Merge pull request #21907 from JFonS/concave_collision_gizmo
Fix SoftBody gizmo slowness, add ConcaveShape wireframe
2018-09-10 23:36:07 +02:00
Rémi Verschelde fe4c893c88
Merge pull request #21871 from DualMatrix/recent_select
Fixed favorites and recent nodes selecting wrong node
2018-09-10 22:52:08 +02:00
DualMatrix 6ec28de584 Fixed favorites and recent nodes selecting wrong node
Fixed favorites and recent nodes selecting wrong node and fixed a typo.

Fixes #6535
2018-09-10 20:58:29 +02:00
Rémi Verschelde 772b398ad8
Merge pull request #21886 from RyanStein/bugfix-15509
Check for double-colon on open recent script.
2018-09-10 19:06:41 +02:00
Rémi Verschelde ec788e1ac4
Merge pull request #21879 from willnationsdev/script-name-empty
Fix ScriptCreateDialog passing script w/ no filename
2018-09-10 18:58:21 +02:00
Rémi Verschelde fcabf95934
Merge pull request #21835 from DualMatrix/save_branch
Prevent overwriting open scenes when saving
2018-09-10 16:00:25 +02:00
Rémi Verschelde 04eb6046c5
Merge pull request #21831 from JFonS/fix_13849
Fix selection of spatial nodes after selecting a non-spatial one.
2018-09-10 15:39:31 +02:00
groud 1d83f36a26 Fixes 2D nodes lock not working 2018-09-09 22:17:54 +02:00
JFonS 216ba4cc8b Fix SoftBody gizmo slowness, add ConcaveShape wireframe 2018-09-09 19:39:34 +02:00
Ryan Stein 1cdc04c9c4 Check for double-colon on open recent script. 2018-09-08 22:26:05 -04:00
willnationsdev 69c09ab2fd Fix ScriptCreateDialog passing script w/ no filename 2018-09-08 15:04:55 -05:00
DualMatrix c43ffc8917 Prevent overwriting open scenes when saving
Prevent overwriting open scenes when saving, this fixes #17628
2018-09-07 15:54:26 +02:00
JFonS b82f037818 Fix selection of spatial nodes after selecting a non-spatial one.
Fixes #13849
2018-09-07 10:49:40 +02:00
Rémi Verschelde 8804eb8c06
Merge pull request #21707 from JFonS/fix_instanced_selection
Fix selection of instanced scenes in 3D
2018-09-05 18:11:56 +02:00
Rémi Verschelde 2f4912ec69
Merge pull request #21767 from volzhs/expand-collapse-all
Make expand/collapse all properties menu working
2018-09-05 18:04:44 +02:00
Rémi Verschelde 021159330c
Merge pull request #21766 from volzhs/bitmask-color
Make better look for bitmask
2018-09-05 18:03:40 +02:00
volzhs ce4067e38b Make expand/collapse all properties menu working 2018-09-05 11:03:10 +09:00
volzhs 192beed068 Make better look for bitmask 2018-09-05 10:49:48 +09:00
Rémi Verschelde 5fe01d4cfc Move ParticlesMaterial code to its own resource file
It's shared by both 2D and 3D particles (+ CPU ones), so it makes sense
to have as a common resource. It also allowed to disable compilation of
Particles (3D) when using 'disable_3d'.

Also cleaned up includes in SpatialEditorGizmos and some other places,
as well as dropped dead code in material_editor_plugin.cpp.
2018-09-04 11:32:56 +02:00
JFonS 4a412943d4 Fix selection of instanced scenes in 3D 2018-09-02 22:31:03 +02:00
Guilherme Felipe 4356af2a68 [Texture Import] Fix invert color 2018-09-02 11:35:48 -03:00
Hugo Locurcio 9c5ce5cf58
Fix the project manager window size on hiDPI displays on macOS
This closes #21525.
2018-09-02 11:52:26 +02:00
Rémi Verschelde 737c90963f
Merge pull request #21636 from akien-mga/docdata-variant
DocData: Fix return type listed as "var" instead of "Variant"
2018-09-01 23:40:11 +02:00
Rémi Verschelde ab60283798
Merge pull request #21663 from Calinou/fix-editor-shortcut-defaults
Fix some editor shortcuts' default values not being set properly
2018-09-01 20:40:29 +02:00
Hugo Locurcio af139af69e
Fix some editor shortcuts' default values not being set properly
This also changes the uppercase/lowercase/capitalize shortcuts
to Shift+F4, Shift+F5 and Shift+F6 respectively to avoid conflicts
with the new Find Next shortcut.

This closes #21612.
2018-09-01 16:20:47 +02:00
Ibrahn Sahir 02693b9af6 Removed some unneeded generated headers from the editor directory SCsub.
These headers are currently built in (and included from) the core directory.
Removing the editor directory versions to avoid confusion.
2018-09-01 13:00:04 +01:00
Michael Alexsander Silva Dias 8c74257d68 Make "Search Classes" dialog have relationship lines if the setting is enabled 2018-08-31 21:48:56 -03:00
Rémi Verschelde f92b87e5f8 DocData: Fix return type listed as "var" instead of "Variant" 2018-08-31 22:41:14 +02:00
Kelly Thomas e00baaf6ce emit more detailed type information for signal parameters 2018-08-31 22:34:22 +02:00
Rémi Verschelde 51dfdf549e ExportDialog: Validate path before allowing export
Otherwise one could quite easily end up with the exported game
being hidden files named ".x86_64" and ".pck" for example.

Also improved the default filename logic a bit to also include
extension, and never fallback to an empty string.

Also fixed being able to click "Export project" without selecting
a preset.
2018-08-31 11:19:13 +02:00
Will Nations dee0ee749d Fix Script Classes not instancing with custom name. 2018-08-30 16:01:39 -05:00
JFonS 07d9b7af7a Fix regression #21262 in Path Gizmo
closes #21262
2018-08-30 14:24:24 +02:00
Rémi Verschelde 9eb4d4ab2d Add missing copyright headers 2018-08-29 22:41:17 +02:00
Rémi Verschelde 6003cf70b1
Merge pull request #21578 from volzhs/font-hindi
Add Hindi font for editor
2018-08-29 22:41:09 +02:00
volzhs 1dc6d47df9 Add Hindi font for editor 2018-08-30 05:11:09 +09:00
Juan Linietsky cf834a22dc Ported CPU particles to 2D 2018-08-29 16:48:55 -03:00
Rémi Verschelde 39cbb992c3
Merge pull request #21516 from elasota/fix-bptc
Fix BPTC regressions
2018-08-29 16:35:34 +02:00
Marcelo Fernandez 20bea1e231 Unexpose TileMap set_celld 2018-08-29 09:00:00 -03:00
Rémi Verschelde 6c8aa939e4
Merge pull request #21539 from yurchor/master
Fix minor typos and word puzzles
2018-08-29 12:21:33 +02:00
Yuri Chornoivan 06e73522dc Fix vformat(), minor typos and word puzzles 2018-08-29 11:50:39 +03:00
Bernhard M. Wiedemann 83b856c046 BuildSystem: Sort input file lists
so that godot package builds reproducibly
in spite of indeterministic filesystem readdir order
and http://bugs.python.org/issue30461

See https://reproducible-builds.org/ for why this is good.

Sort font input file list, so that builtin_fonts.gen.h
is created in a reproducible way

Sort list of platforms, so that editor/register_exporters.gen.cpp
is created in a reproducible way

Sort list of source files, so that .a files and resulting godot binaries
are created in a reproducible way
2018-08-29 10:24:07 +02:00
Bernhard M. Wiedemann f312582326 BuildSystem: Fix font list
We want to add the individual strings to the list
and not add a list object to the list.

Without this patch, sorting failed because "str < list"
is not a valid operation in python.
2018-08-29 10:24:07 +02:00
Rémi Verschelde b6c170165c
Merge pull request #21485 from JFonS/fix_selection
Saner selection code for instanced scenes in 3D,  should close #21447
2018-08-29 10:08:41 +02:00