Rémi Verschelde
643da45e16
Merge pull request #49173 from KoBeWi/navigational_oblivion
...
Tweak arguments of list_dir_begin() (skips navigational and hidden files by default)
2021-05-31 14:33:58 +02:00
Rémi Verschelde
c9ce5367e3
Merge pull request #49213 from Calinou/doc-resource-duplicate-copy-export-only
...
Document `Resource.duplicate()` only copying exported variables' values
2021-05-31 13:42:09 +02:00
Rémi Verschelde
4e3d5148ff
Merge pull request #49157 from Chaosus/vs_billboard
...
Added Billboard Node to Visual Shaders
2021-05-31 12:23:01 +02:00
kobewi
bd50006aae
Tweak arguments of list_dir_begin()
2021-05-31 12:16:26 +02:00
reduz
0d2e02945b
Implement shader caching
...
* Shader compilation is now cached. Subsequent loads take less than a millisecond.
* Improved game, editor and project manager startup time.
* Editor uses .godot/shader_cache to store shaders.
* Game uses user://shader_cache
* Project manager uses $config_dir/shader_cache
* Options to tweak shader caching in project settings.
* Editor path configuration moved from EditorSettings to new class, EditorPaths, so it can be available early on (before shaders are compiled).
* Reworked ShaderCompilerRD to ensure deterministic shader code creation (else shader may change and cache will be invalidated).
* Added shader compression with SMOLV: https://github.com/aras-p/smol-v
2021-05-31 10:13:09 +02:00
Hugo Locurcio
2ba893e3ce
Document Resource.duplicate()
only copying exported variables' values
2021-05-31 00:11:38 +02:00
Yuri Roubinsky
f06db8b778
Added Billboard Node to Visual Shaders
2021-05-28 09:24:06 +03:00
Marcel Admiraal
89e4917214
Update EditorResourcePreview queue_*() documentation
2021-05-26 08:39:40 +01:00
Rémi Verschelde
6a64a98039
Merge pull request #48546 from pycbouh/tree-highlight-selected-relationships
2021-05-25 19:42:55 +02:00
Rémi Verschelde
554382d8ad
Merge pull request #49068 from pycbouh/i-broke-inspector
...
Make `EditorFileDialog` only created on demand in `EditorResourcePicker`
2021-05-25 18:07:05 +02:00
Yuri Sizov
9c92e9d849
Add highlight to the relationship lines of selected Tree items
2021-05-25 18:56:06 +03:00
Yuri Sizov
c8551b0eda
Make EditorFileDialog only created on demand in EditorResourcePicker
2021-05-25 18:38:19 +03:00
Marcel Admiraal
da5d7db610
Rename File::get_len() get_length()
2021-05-25 11:54:28 +01:00
Rémi Verschelde
af03e9c830
Merge pull request #48939 from Calinou/screen-orientation-use-enum
...
Use an enum to represent screen orientation in the Project Settings
2021-05-24 19:53:19 +02:00
Hugo Locurcio
660952a857
Use an enum to represent screen orientation in the Project Settings
...
- Tweak the setting property hint to be more informative.
- Make the setting a "basic" setting so it appears when Advanced Settings
is disabled.
- Remove redundant orientation setting in the iOS export preset.
The project setting is now used (like on Android).
Projects upgrading from a previous version will have to set the
screen orientation again in the Project Settings if it wasn't set
to the default value ("landscape").
2021-05-24 18:53:10 +02:00
Rémi Verschelde
6894559fb7
Merge pull request #49034 from madmiraal/fix-doc-2177
...
Unexpose methods and property for binding children to Bones in Skeleton3D
2021-05-24 18:34:57 +02:00
Marcel Admiraal
65faa12fd3
Unexpose methods and property for binding children to Bones
2021-05-24 16:44:17 +01:00
Rémi Verschelde
62efa30ed2
OS: Better validation of invalid input for get_unix_time_from_datetime
...
Default missing keys to Unix time 0 (1970-01-01 at 00:00:00 UTC).
Abort if year <= 0, this is not supported by the current algorithm.
Prevents an infinite loop further down.
Fixes #49022 .
2021-05-24 13:37:36 +02:00
Rémi Verschelde
9cf1d034a7
Merge pull request #48894 from reduz/gpu-particles-2d-2
...
Support for 2D particles to collide against SDF
2021-05-24 12:49:34 +02:00
reduz
789713b008
Support for 2D particles to collide against SDF
...
-Added SDF collision support for 2D particles
-Changed the SDF generation to be fully signed
2021-05-23 16:43:36 -03:00
kobewi
5605454981
Change frame_coords to Vector2i
2021-05-23 21:38:27 +02:00
Hugo Locurcio
80f4e407b2
Add a keyboard shortcut to select the word under cursor in TextEdit
...
This also acts as a general-purpose "deselect" shortcut since pressing
it a second time will deselect text.
This is available both in the script editor and in TextEdit fields
in use, both in the editor and projects.
The Duplicate Line script editor shortcut was moved to Ctrl + Shift + D
since it conflicts with the new shortcut (Ctrl + D). The rationale for
doing so is that Duplicate Line is a less commonly used action, and
its behavior can be replicated by copying and pasting the current line
anyway. (With no selection active, the whole line will be copied.)
2021-05-22 23:47:43 +02:00
Paulb23
00e10a842f
Add custom background line colour to TextEdit and remove marked lines
2021-05-22 14:41:55 +01:00
Rémi Verschelde
3b3a55ca04
Merge pull request #48918 from groud/fix_tilemap_y_sort
...
Fixes TileSet Y-sort not working and TileSet not saving correctly
2021-05-22 00:26:36 +02:00
Fabio Alessandrelli
fdf66a21f1
[HTML5] Add easy to use download API.
...
New `JavaScript.download_buffer` method to create a prompt that let the
user download a file.
2021-05-21 15:31:23 +02:00
Rémi Verschelde
d3ba922ba8
Merge pull request #48854 from pycbouh/editor-reuse-resource-picker
...
Use `EditorResourcePicker` in the Inspector
2021-05-21 12:03:27 +02:00
Gilles Roudière
7d80480b72
Fixes TileSet Y-sort not working and TileSet not saving correctly
2021-05-21 10:13:37 +02:00
Tomasz Chabora
b1859510ab
Change behavior of String.right
2021-05-20 23:07:57 +02:00
Rémi Verschelde
aa5552278d
Merge pull request #48719 from Faless/js/4.x_interfaces
...
[HTML5] Implement Godot <-> JavaScript interface.
2021-05-20 17:13:02 +02:00
Fabio Alessandrelli
9811035ebf
[HTML5] Implement Godot <-> JavaScript interface.
2021-05-20 14:33:18 +02:00
Rémi Verschelde
a6a75e2c09
Merge pull request #48812 from groud/tilemap_scenes_painting
...
Implement scenes tiles in TileMaps
2021-05-20 14:32:40 +02:00
Rémi Verschelde
db4cf63482
Merge pull request #48860 from JohnM666/fix-basis-variant-initialization
...
Fix RigidBody3D.get_inverse_inertia_tensor() crash
2021-05-20 14:05:29 +02:00
Gilles Roudière
d8bb53cd21
Implement scenes tiles in TileMaps
2021-05-20 13:12:03 +02:00
Rémi Verschelde
4219a4cb6f
Fix typos with codespell
...
Using codespell 2.0.0.
Method:
```
$ cat > ../godot-word-whitelist.txt << EOF
ang
curvelinear
dof
doubleclick
fave
findn
GIRD
leapyear
lod
merchantibility
nd
numer
ois
ony
que
seeked
synching
te
uint
unselect
webp
EOF
$ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"
$ git diff // undo unwanted changes
```
2021-05-20 12:38:56 +02:00
Fabio Alessandrelli
e858f7c2ea
[Doc] Remove reference to UNIX sockets in StreamPeer.
...
That class can be used as a base to implement them, but there is no
actual implementation for it in Godot.
2021-05-20 11:25:47 +02:00
JohnM666
b19544e91d
Fix #46282 Executing RigidBody3D.get_inverse_inertia_tensor() crashes Godot
2021-05-20 10:46:24 +03:00
kleonc
99173fb0d7
Document valid range of Node2D.z_index
2021-05-20 01:22:13 +02:00
Yuri Sizov
e9206a55ea
Use EditorResourcePicker in the Inspector
2021-05-19 21:39:15 +03:00
Rémi Verschelde
896d84bd15
Merge pull request #48827 from Rhathe/set_iterations_master
...
Enable setting of collision iterations in PhysicsServer2D
2021-05-19 19:47:59 +02:00
Rhathe
88b1802132
Enable setting of collision iterations in PhysicsServer2D
...
This allows fine-tuning of collision iterations for more
accurate collision physics with a performance cost.
2021-05-19 10:54:10 -04:00
Rémi Verschelde
d0aaf4a1fd
Merge pull request #48814 from Calinou/viewport-use-nonzero-default-size
...
Use a non-zero default size for SubViewports
2021-05-19 10:12:42 +02:00
Rémi Verschelde
c340ed6394
Merge pull request #42742 from madmiraal/fix-12215
...
Return RID instead of Object id in area-body_shape_entered-exited signals.
2021-05-18 20:00:48 +02:00
Hugo Locurcio
bbdfb715a6
Use a non-zero default size for SubViewports
...
This makes viewports visible out of the box.
2021-05-18 18:51:39 +02:00
Aaron Franke
ab674a41aa
Area: Uncap the range for gravity and change the slider hints
2021-05-18 07:17:11 -04:00
Rémi Verschelde
b2fb119c53
Merge pull request #36263 from Calinou/increase-default-2d-gravity
2021-05-18 10:54:47 +02:00
Rémi Verschelde
66dac8bda0
Merge pull request #47544 from pycbouh/control-expose-theme-type
2021-05-18 10:52:51 +02:00
Rémi Verschelde
95bb7207f3
Merge pull request #46773 from trollodel/TreeItem+
...
Improve TreeItem API and allow to move nodes
2021-05-18 10:49:45 +02:00
Rémi Verschelde
510030fedc
Merge pull request #48528 from sent44/textedit
...
Expose get_total_visible_rows method to GDScript
2021-05-18 09:06:24 +02:00
trollodel
bca0d36fe6
Improve TreeItem API and allow to move nodes
2021-05-17 22:06:46 +02:00
Rémi Verschelde
b3e3f0e34c
Merge pull request #48599 from Calinou/textedit-alt-scroll-faster
...
Scroll faster when holding Alt in TextEdit (and script editor)
2021-05-17 17:38:18 +02:00