Commit Graph

41250 Commits

Author SHA1 Message Date
Max Hilbrunner
26da72eb4b Fix make_rst.py on Windows 2022-01-24 10:30:07 +01:00
Rémi Verschelde
57a057f7ff
Merge pull request #56754 from madmiraal/fix-45592 2022-01-24 10:05:42 +01:00
Rémi Verschelde
b56d5b6e2f
Merge pull request #57111 from bruvzg/help_resize 2022-01-24 10:03:45 +01:00
Yuri Roubinsky
0d4b86a30c
Merge pull request #57107 from Chaosus/shader_fix_completion 2022-01-24 11:53:11 +03:00
Rémi Verschelde
06abfd8c13
Merge pull request #57100 from Paulb23/textedit-placeholder 2022-01-24 09:43:33 +01:00
bruvzg
f13db28a5c
[Editor] Do not update editor help theme, if calculated margin hasn't changed. 2022-01-24 09:51:35 +02:00
Yuri Roubinsky
0e66587dbf Remove incorrect items from completion of main functions in shader 2022-01-24 10:37:47 +03:00
rafallus
44f6fe4be4 Bring reusable variables out of while loop 2022-01-23 19:39:00 -06:00
Preslavb
6f1089af86 Fix selection being deleted and indentation not being accounted for 2022-01-23 23:14:35 +00:00
Rémi Verschelde
31a7ddbf83
Merge pull request #57101 from akien-mga/basebutton-pressed-conflict 2022-01-23 23:16:52 +01:00
Rémi Verschelde
bd4d57ede2
BaseButton: Rename pressed property to button_pressed
This fixes a conflict with the `pressed` signal.

The new name is temporary and only intended to solve the conflict for upcoming
alpha builds. Discussions are still ongoing regarding the BaseButton API and
how to rename and refactor more of its properties, signals and methods to have
a clearer API in 4.0.
2022-01-23 22:15:09 +01:00
Rémi Verschelde
81c28dd706
Merge pull request #57096 from lyuma/fix-3d-textures 2022-01-23 21:39:05 +01:00
Paulb23
09212ba151 Add Placeholder to TextEdit 2022-01-23 20:19:36 +00:00
Lyuma
e8da21dc6b etcpak: Workaround multiple-of-4 requirement for 3D texture mipmaps. 2022-01-23 11:32:05 -08:00
Rémi Verschelde
dd6e5b3eaa
Merge pull request #57090 from bruvzg/rtl_fix_missing_line_sep
[RTL] Fix missing line separation in the paragraph offset and click calculation.
2022-01-23 19:49:55 +01:00
Yuri Roubinsky
dc5fbfdbdc
Merge pull request #57091 from Chaosus/fix_unused_localvar_warnings 2022-01-23 21:25:37 +03:00
Yuri Roubinsky
3ca57e5157 Fix incorrect unused local var warning in shader blocks 2022-01-23 20:22:31 +03:00
bruvzg
268bab077f
[RTL] Fix missing line separation in the paragraph offset and click calculation. 2022-01-23 19:09:14 +02:00
Rémi Verschelde
dda6d2674a
Merge pull request #57082 from madmiraal/fix-50802 2022-01-23 17:27:10 +01:00
Rémi Verschelde
eb5aa3218f
Merge pull request #57029 from timothyqiu/disable-script-editor-menu 2022-01-23 16:04:46 +01:00
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