Commit graph

41230 commits

Author SHA1 Message Date
Rémi Verschelde
a673e18d34
Merge pull request #57080 from KoBeWi/ULTIMATER_PANNING 2022-01-23 16:03:35 +01:00
kobewi
98692d68c3 Minor tweaks and fixes to panning 2022-01-23 13:49:53 +01:00
Igor Kordiukiewicz
6c3b6664b5 String.Capitalize() in C# now matches the behaviour of String::capitalize() in C++ 2022-01-23 13:24:04 +01:00
Rémi Verschelde
c3d28ffa74
Merge pull request #57012 from Calinou/editor-add-new-script-textfile-shortcuts 2022-01-23 12:55:58 +01:00
Rémi Verschelde
904bc403a0
Merge pull request #56983 from Calinou/doc-softdynamicbody3d-no-gameplay 2022-01-23 12:54:31 +01:00
Marcel Admiraal
d009aa4d02 Fix mouse position not being scaled when window size is changed 2022-01-23 11:53:58 +00:00
Rémi Verschelde
07557be340
Merge pull request #57079 from bruvzg/calt_disable 2022-01-23 12:41:07 +01:00
bruvzg
3940bf586b
[Editor] Disable contextual alternates (coding ligatures) outside of code editor. 2022-01-23 11:09:10 +02:00
Rémi Verschelde
ce42ab238a
Merge pull request #56931 from lyuma/etcpak_po2
Enforce mult-of-4 requirements on etcpak input.
2022-01-23 09:31:35 +01:00
Rémi Verschelde
2f277994d2
Merge pull request #55493 from V-Sekai/gdscript-crash
GDScript cache crashfix.
2022-01-23 09:31:08 +01:00
Fabio Alessandrelli
3f93528483
Merge pull request #57074 from Faless/net/4.x_http_client_64
[Net] Fix get_response_body_length for large files.
2022-01-23 04:42:20 +01:00
Fabio Alessandrelli
18c2e734ac
Merge pull request #56977 from Calinou/web-editor-add-local-web-server
Add local web server configuration designed for web editor development
2022-01-23 04:41:32 +01:00
Ryan Roden-Corrent
58e8e5f219
Implement blender-style 3D transform tools.
See godotengine/godot-proposals#1215.

This adds shortcuts for blender-inspired transforms, where you can press
the key and immediately be transforming an object without holding the
mouse. Clicking commits the transformation, ESC aborts it.

This is inspired by Blender's G(rab)/R(otate)/S(cale) shortcuts, but I
decided not to add default bindings as `S` is already bound to the
regular scale tool, and it might be confusing to only bind some of them.

While actively using a transform tool, you can press X/Y/Z to lock the
transform to an axis or (shift)+X/Y/Z to constrain the transform to a
plane. These keys are only processed if you have a transform tool
(translate/rotate/scale) active _and_ the mouse button is held.

Pressing XX/YY/ZZ will lock the transform to a local (rather than
global) axis.

This is achieved by temporarily toggling the local transform button. I
did this (vs handling it in the transform functions) for 3 reasons:

- Transform logic for translate/rotate (but not scale) appears to be
  tightly coupled to the gizmo
- This ensures the gizmo changes to indicate we're transforming
  locally/globally
- Toggling the button state in the UI also gives the user feedback about
  the nature of the transform.

The original state of the button is reset when the transform completes.

Pressing the `spatial_editor/cancel_transform` shortcut key during a
transform operation will cancel the transform and reset the objects back
to their original transforms.

This functionality was already accessible by pressing RMB during a
transform, however:

- ESC is more familiar to blender users, and a more common "cancel" key
  in general.
- Given you must hold LMB during a transform, pressing RMB as well is
  clumsy if not impossible (on a laptop trackpad).
2022-01-22 20:55:39 -05:00
K. S. Ernest (iFire) Lee
b69b526b7c GDScript cache crashfix. 2022-01-22 17:42:54 -08:00
Lyuma
b1b20f5f91 Pad etcpak input to 4x4 blocks. Fixes #49981 2022-01-22 17:20:17 -08:00
Fabio Alessandrelli
01e5e98312 [Net] Fix get_response_body_length for large files.
Parsing was fixed, but not the return value for the exposed getter.
2022-01-23 01:30:35 +01:00
Rémi Verschelde
e363f404a5
Merge pull request #57000 from KoBeWi/UNLIMITED_PANNING 2022-01-23 00:47:52 +01:00
Rémi Verschelde
668d6a1c5c
Merge pull request #56337 from cdemirer/fix-array-dictionary-id 2022-01-23 00:46:53 +01:00
Rémi Verschelde
5e26a275bb
Merge pull request #56474 from brennengreen/keying-bounds 2022-01-23 00:33:28 +01:00
Rémi Verschelde
00f8b56f1f
Merge pull request #57044 from Calinou/doc-csgpolygon3d-points 2022-01-23 00:30:03 +01:00
Rémi Verschelde
f63457814f
Merge pull request #35508 from Calinou/editor-help-references-use-code-font 2022-01-23 00:29:00 +01:00
Rémi Verschelde
ee253163ab
Merge pull request #57056 from Chaosus/vs_fix_defaults 2022-01-23 00:27:48 +01:00
Rémi Verschelde
e1706be25d
Merge pull request #57052 from KoBeWi/nosort 2022-01-23 00:27:01 +01:00
Rémi Verschelde
649aa547a3
Merge pull request #57060 from KoBeWi/you_have_1_completion_request 2022-01-23 00:26:35 +01:00
Rémi Verschelde
2b61d02f7e
Bump version to 4.0-alpha
This is _not_ yet a feature freeze, and the API should not be considered
stable. The alpha phase will have frequent official testing releases while
we focus on fixing known issues and integrating the remaining features and
API improvements planned for Godot 4.0.
2022-01-23 00:09:08 +01:00
Rémi Verschelde
a9df1f51c2
Update AUTHORS and DONORS list
New contributors added to AUTHORS:
@cdemirer, @marstaik, @mortarroad, @The-O-King

Thanks to all contributors and donors for making Godot possible!
2022-01-23 00:03:50 +01:00
Rémi Verschelde
27c65c1f64
Merge pull request #57072 from bruvzg/export_hide 2022-01-22 22:55:11 +01:00
Rémi Verschelde
ea508ced9f
Merge pull request #52976 from KoBeWi/TBD 2022-01-22 22:09:27 +01:00
bruvzg
3bf05c9018
[Export] Instead of removing unsupported options, hide it. 2022-01-22 22:56:58 +02:00
kobewi
b86e3dbe7b Add usage of indeterminate checkboxes to editor 2022-01-22 21:12:06 +01:00
Rémi Verschelde
02f3e3346a
Merge pull request #56912 from AnilBK/circle-fix
Circle&CapsuleShape2D: Fix outlines missing line.
2022-01-22 20:50:41 +01:00
Rémi Verschelde
b5f524d4c0
Merge pull request #55433 from V-Sekai/prev_operand_nullptr_check
Check for nullptr expression in parse_precedence function
2022-01-22 20:31:45 +01:00
Rémi Verschelde
182a36db47
Merge pull request #55214 from Scony/fix-gdscript-crash-2
Fix GDScript parser crash on 'dollar mixed with assignment' expression
2022-01-22 20:30:54 +01:00
Rémi Verschelde
9b9440165b
Merge pull request #54890 from briansemrau/threadsafe-drawpute-lists
Make draw/compute lists threadsafe
2022-01-22 20:20:07 +01:00
Rémi Verschelde
c83563e810
Merge pull request #57063 from kleonc/sprite_frames_editor_src_texture_paths_in_tooltip
`SpriteFramesEditor` Show `AtlasTexture`'s source texture path in the frame's tooltip
2022-01-22 19:48:35 +01:00
Anilforextra
70b0b2f164 Circle&CapsuleShape2D: Fix outlines missing line. 2022-01-22 22:14:41 +05:45
kleonc
c635ab914d SpriteFramesEditor Show AtlasTexture's source texture path in the frame's tooltip 2022-01-22 17:03:37 +01:00
Rémi Verschelde
baac3f5ed3
Merge pull request #57061 from Chaosus/vs_fog_transform_remove
Remove transform input from fog mode in visual shaders
2022-01-22 15:24:00 +01:00
Yuri Roubinsky
56a6e95d6a Remove transform input from fog mode in visual shaders 2022-01-22 16:31:06 +03:00
kobewi
1422c756ed Rename request_code_completion signal 2022-01-22 14:04:35 +01:00
kobewi
f056cb8ebc Don't sort printed Dictionary 2022-01-22 13:45:02 +01:00
Rémi Verschelde
df62b92d38
Merge pull request #57055 from clayjohn/VULKAN-fog-variable
Remove TRANSFORM built in from fog shaders
2022-01-22 10:23:44 +01:00
Yuri Roubinsky
538cff1351 Fix default input port hints for some modes in visual shader 2022-01-22 11:12:56 +03:00
clayjohn
fdc1b1b03b Remove TRANSFORM built in from fog shaders 2022-01-21 23:03:41 -08:00
Rémi Verschelde
0e2842d5b2
Merge pull request #57051 from Calinou/editor-gizmo-fix-voxelgi-icon
Fix missing VoxelGI 3D editor gizmo icon
2022-01-22 01:56:14 +01:00
Hugo Locurcio
5e901c5807
Fix missing VoxelGI 3D editor gizmo icon 2022-01-22 00:41:56 +01:00
Hugo Locurcio
8cc9ff4f5b
Use a fixed-width font for internal references in the editor help
Since internal references are often written in scripts, it makes sense
to use a fixed-width font for them.
2022-01-21 20:05:11 +01:00
Hugo Locurcio
69617a893e
Improve CSGPolygon3D documentation
- Describe why polygon triangulation usually fails in the error message.
2022-01-21 20:00:34 +01:00
kobewi
74bfe88267 Add ViewPanner to 2D editor 2022-01-21 18:35:06 +01:00
Rémi Verschelde
3a41bf0e04
Merge pull request #57040 from YeldhamDev/drag_script_fix
Fix icon in drag preview of scripts/docs
2022-01-21 18:18:41 +01:00