Commit graph

16756 commits

Author SHA1 Message Date
Rémi Verschelde
76ca46d1f4
Merge pull request #22225 from groud/fix_draw_on_viewport
Fixes drawing of the 2D plugins on the 3D view
2018-09-20 21:45:16 +02:00
Rémi Verschelde
f93a69cb6e
Merge pull request #22287 from Chaosus/fix_warning
Fix "This control can't grab focus." warning spam
2018-09-20 21:41:53 +02:00
DualMatrix
0b5c694b74 Better heuristic for the shortest path algorithm for navigation2D and navigation.
Better heuristic for the shortest path algorithm for navigation2D and navigation.
It now will use the shortest distance to the polygon as cost instead of the distance to the center.
2018-09-20 21:23:17 +02:00
Rémi Verschelde
0b705d5583
Merge pull request #22068 from akien-mga/default-editor-layout
EditorNode: New default dock layout
2018-09-20 19:57:30 +02:00
Rémi Verschelde
46d8a28314
Merge pull request #22094 from elasota/fix-visual-shader
Fix VisualShader code overwrites and save failures
2018-09-20 18:46:20 +02:00
Rémi Verschelde
14632cf88f
Merge pull request #22239 from Chaosus/fix_vs_connection
Disconnects previous visual shader node before making a new connection
2018-09-20 18:46:02 +02:00
Rémi Verschelde
8e0dfe5501 EditorNode: New default dock layout
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-20 18:35:38 +02:00
Rémi Verschelde
c884b55ff0 EditorNode: Reorder and cleanup initial dock setup 2018-09-20 18:35:38 +02:00
Rémi Verschelde
69ee33896a
Merge pull request #21426 from groud/add_files_to_tree_view
Add files to tree view
2018-09-20 18:32:13 +02:00
Rémi Verschelde
561a7772c6
Merge pull request #22198 from DualMatrix/input_was_eaten
Fixed ctrl+up/down shortcut no longer working in scene tree
2018-09-20 15:54:54 +02:00
Rémi Verschelde
9136f1287e
Merge pull request #22282 from ibrahn/spatial_editor_origin_init
fix branch on uninit in spatial_editor_plugin
2018-09-20 15:50:41 +02:00
Rémi Verschelde
88ebd710f9
Merge pull request #22071 from DualMatrix/preserve_group
Made duplicate_and_reown preserve groups
2018-09-20 15:50:14 +02:00
Rémi Verschelde
da48a599a4
Merge pull request #22131 from DualMatrix/unique_res
Make inspector select the correct resource after making them unique
2018-09-20 15:35:23 +02:00
DualMatrix
f8ead1a2ee Fixed ctrl+up/down shortcut no longer working in scene tree
Fixed ctrl+up/down shortcut no longer working in scene tree.
2018-09-20 15:27:37 +02:00
Rémi Verschelde
9f0ea24920
Merge pull request #22163 from DualMatrix/create_extra
Automatically add extra args to function when creating it from create signal window
2018-09-20 15:12:12 +02:00
Rémi Verschelde
48ace81d7b
Merge pull request #22171 from DualMatrix/empty_boi_WTF_WHY
Fixed empty item slipping into Search Classes dialog
2018-09-20 15:03:13 +02:00
Rémi Verschelde
c19dc39630
Merge pull request #22201 from DualMatrix/error_spam_2_electric_boogaloo
Fixed error spam in remote debugger
2018-09-20 14:45:21 +02:00
Rémi Verschelde
7235f48690
Merge pull request #22244 from DualMatrix/debuging_the_debugger
Fixed Objects no longer showing ID in debugger.
2018-09-20 14:42:36 +02:00
Rémi Verschelde
eb4af940dd Main: Group static members and add some docs 2018-09-20 14:38:40 +02:00
Chaosus
e4c8efd051 Fix "This control can't grab focus." warning spam 2018-09-20 15:29:38 +03:00
Ibrahn Sahir
ce15cf8ebc fix branch on uninit in spatial_editor_plugin
Moved the initialisation of origin_enabled up a bit, to be inited before
it's accessed in _init_grid. A step towards cleaner valgrind output and
removes an opportunity for a random occurance of the origin/grid
z-fighting issue.

Also removed unused variable last_grid_snap to avoid later confusion.
2018-09-20 13:06:13 +01:00
Rémi Verschelde
0a6626a5d1
Merge pull request #22268 from DualMatrix/highlight_no_save
Fixed syntax highlighting setting not being saved
2018-09-20 13:51:33 +02:00
Rémi Verschelde
e5bdf5e37b
Merge pull request #22250 from ibrahn/shader_lang_vector_gotcha
Fixed an access after free in ShaderLanguage::_reduce_expression.
2018-09-20 13:43:34 +02:00
Rémi Verschelde
d357b45fda
Merge pull request #22270 from DualMatrix/locks_toggle_visible
Added ability to hide edit locks and groups in editor view
2018-09-20 13:33:29 +02:00
Rémi Verschelde
a4f5daca67
Merge pull request #22278 from JFonS/fix_21293
Fix selection box staying when editing a GridMap
2018-09-20 12:45:49 +02:00
Rémi Verschelde
cbe444ff18
Merge pull request #22273 from JFonS/change_viewport_create_root
Change viewport type after using create root menu
2018-09-20 12:44:31 +02:00
JFonS
9ffc30699f Fix selection box staying when editing a GridMap 2018-09-20 11:50:38 +02:00
DualMatrix
494354c835 Added ability to hide edit lock and groups in editor view
Added ability to hide edit lock and groups in editor view
2018-09-20 11:35:26 +02:00
DualMatrix
4efcf9c943 Fixed syntax highlighting setting not being saved
Fixed syntax highlighting setting not being saved
2018-09-20 11:31:53 +02:00
Rémi Verschelde
a65d9d96ea
Merge pull request #22274 from JFonS/add_noise_textures
Fix typo in SimplexNoise documentation
2018-09-20 11:05:52 +02:00
JFonS
463af5b6ef Fix typo in SimplexNoise documentation 2018-09-20 11:03:23 +02:00
JFonS
a100b320c2 Change viewport type after using create root menu
Change viewport type (2D/3D) according to the type of node just created
from the "Create Root Node" menu.
2018-09-20 10:44:58 +02:00
Rémi Verschelde
a21ee5aa2c
Merge pull request #22251 from aaronfranke/decimal-int-strip
Fix: Strip integer part in "decimals"
2018-09-20 10:44:37 +02:00
Rémi Verschelde
4fca3fe180
Merge pull request #22267 from YeldhamDev/dict_array_type_fix
Properly setup EditorProperties in arrays and dictionaries
2018-09-20 08:54:44 +02:00
Rémi Verschelde
89a38b1b22
Merge pull request #22269 from willnationsdev/fix-draw-call-editor-setting-saves
Fix EditorSettings saving on draw calls
2018-09-20 08:53:22 +02:00
Rémi Verschelde
1800439997
Merge pull request #22234 from DualMatrix/favorites_not_saved
Fixed favorite nodes list not being saved
2018-09-20 08:51:20 +02:00
Aaron Franke
5f4f9ca4a5 Fix: Strip integer part in "decimals"
Note: Core only.
2018-09-19 23:47:33 -04:00
willnationsdev
fa271e4870 Fix EditorSettings saving on draw calls 2018-09-19 21:37:55 -05:00
Michael Alexsander Silva Dias
c0c567add7 Properly setup EditorProperties in arrays and dictionaries 2018-09-19 20:23:09 -03:00
Rémi Verschelde
e20a28a7db
Merge pull request #22260 from JFonS/add_noise_textures
Replace "persistance" with "persistence"
2018-09-19 22:04:42 +02:00
JFonS
4faa5acaa7 Replace "persistance" with "persistence"
Replace "persistance" with "persistence" in the simplex code.
Also made some minor fixes to the docs.
2018-09-19 21:00:10 +02:00
Rémi Verschelde
2306ec211c
Merge pull request #22257 from AndreaCatania/fixes
Daily physics Fixes
2018-09-19 20:41:37 +02:00
Rémi Verschelde
0de6514806
Merge pull request #22259 from Calinou/improve-simplexnoise-doc
Improve SimplexNoise documentation and fix typos
2018-09-19 20:28:34 +02:00
Hugo Locurcio
a386af67ec
Improve SimplexNoise documentation and fix typos
Spaces were added after code blocks to ensure correct rendering
on the online class reference.
2018-09-19 20:25:09 +02:00
Rémi Verschelde
7adaad1c64
Merge pull request #22255 from guilhermefelipecgs/fix_label_min_size
Fix Label::get_minimum_size not updating cache size for autowrap
2018-09-19 20:04:11 +02:00
Andrea Catania
0a2c154c8e Added automatically set velocity when rigid is kinematic 2018-09-19 19:46:07 +02:00
Guilherme Felipe
b0b88df016 Fix Label::get_minimum_size not updating cache size for autowrap 2018-09-19 14:05:44 -03:00
Andrea Catania
42f2ff2f8d Added check to prevent contact signal to happen too early 2018-09-19 19:01:59 +02:00
George Marques
b1187b9a2f
GDScript: Revert extra deletion when creating instance
Revert part of e4af39cbc0 that was causing
a crash.
2018-09-19 11:17:47 -03:00
George Marques
825e85ab23
GDScript: Error on empty blocks at the end of file
Fix #15415
2018-09-19 11:17:46 -03:00