Commit graph

32922 commits

Author SHA1 Message Date
Rémi Verschelde
125e419f61
Merge pull request #35316 from Calinou/contact-shadows-hide-from-editor
Document Light contact shadows often looking broken
2022-02-17 07:37:45 +01:00
Rémi Verschelde
89d34c8abd
Merge pull request #58220 from timothyqiu/bbcode-tag-3.x
[3.x] Fix mismatched BBCode tags in classref
2022-02-17 07:27:36 +01:00
Haoyu Qiu
8f14941ffd Fix mismatched BBCode tags in classref 2022-02-17 10:19:28 +08:00
Hugo Locurcio
9171737e2b
Document Light contact shadows often looking broken 2022-02-17 02:04:07 +01:00
Rémi Verschelde
3a6e250174
Merge pull request #58198 from timothyqiu/two-way 2022-02-16 19:07:09 +01:00
Hugo Locurcio
7f9e974a8b
Add an OS.get_processor_name() method
This method can be used to get the CPU model name.
It can be used in conjunction with
`VisualServer.get_video_adapter_name()` and
`VisualServer.get_video_adapter_vendor()` for annotating benchmarks
and automatic graphics quality configuration.
2022-02-16 18:39:02 +01:00
Rémi Verschelde
6bf0503c6e
Merge pull request #58195 from pycbouh/vcs-plugin-dont-translate-numbers-3.x 2022-02-16 18:32:07 +01:00
Haoyu Qiu
0e9a9a7ee2 Fix description of OccluderShapePolygon.two_way 2022-02-17 01:21:32 +08:00
Yuri Sizov
a91a24f822 Don't translate numbers in VersionControlEditorPlugin 2022-02-16 19:53:27 +03:00
Haoyu Qiu
5688ca688c Backport editor type icons
Co-authored-by: FireForge <isaacr.7.2005@gmail.com>
2022-02-16 23:36:51 +08:00
Rémi Verschelde
2dd545b512
Merge pull request #58141 from lawnjelly/occluder_shared_resources 2022-02-16 13:29:55 +01:00
Rémi Verschelde
7974ea4876
Merge pull request #52846 from lawnjelly/fixed_timestep_simple 2022-02-16 13:29:37 +01:00
lawnjelly
3c2df49832 Fix Occluder to properly share resources
In order to properly support the resource sharing paradigm, Occluders are split into Instances and Resources in the VisualServer. Instances are owned by a Scenario, and Resources are global. OccluderShape resources can now correctly be shared by multiple OccluderInstances.
2022-02-16 09:55:11 +00:00
lawnjelly
522bce1159 Fixed Timestep Interpolation (3D)
Adds fixed timestep interpolation to the visual server.
Switchable on and off with project setting.

This version does not add new API for set_transform etc, when nodes have the interpolated flag set they will always use interpolation.
2022-02-16 09:41:23 +00:00
Rémi Verschelde
9cb169504a
i18n: Sync classref translations with Weblate 2022-02-16 10:04:37 +01:00
Rémi Verschelde
9f09251027
i18n: Sync editor translations with Weblate
Minor proofreading of new OSX export strings.
2022-02-16 09:55:45 +01:00
Rémi Verschelde
609209ab80
Merge pull request #58171 from timothyqiu/gridmap-used-id-3.x
[3.x] Add `GridMap.get_used_cells_by_item`
2022-02-16 08:07:18 +01:00
Haoyu Qiu
b2c012a8c8 Add GridMap.get_used_cells_by_item 2022-02-16 13:03:50 +08:00
Rémi Verschelde
685d4b4739
Merge pull request #58150 from lawnjelly/draw_gui_primitive_fix 2022-02-15 18:34:14 +01:00
lawnjelly
3dc0e97d05 Fix incorrect buffer upload size in GLES2 draw_gui_primitive
The buffer upload size appears to have been incorrect for quite some time, which causes uploading from undefined memory.
2022-02-15 17:24:51 +00:00
Rémi Verschelde
9343c66815
Merge pull request #58102 from JFonS/big_lightmap 2022-02-15 17:47:20 +01:00
JFonS
690f9716fa Add support for saving multiple Images in BakedLightmap
Instead of fitting all atlas slices into a single image, which meant there
was a hard limit on the size, BakedLightmap will now save as many images
as needed to fit all the slices generated by the lightmapper.
2022-02-15 16:13:00 +01:00
Rémi Verschelde
6235bd2a78
Merge pull request #58005 from akien-mga/3.x-cherrypicks 2022-02-15 14:53:49 +01:00
Rémi Verschelde
2f14ec6954
Merge pull request #58142 from jmb462/fix-animation-track-zoom-3.x 2022-02-15 14:40:47 +01:00
jmb462
8b49a62745 [3.x] Fix AnimationTrack mouse wheel zooming at low zoom level 2022-02-15 13:48:57 +01:00
Rémi Verschelde
d3e91eb2a9
Merge pull request #58107 from Scony/cherry-pick-kleonc-fix 2022-02-15 12:57:11 +01:00
Hugo Locurcio
7dcb25e37b
Improve documentation for AudioServer device properties and methods
(cherry picked from commit 743b5608e3)
2022-02-15 12:30:58 +01:00
Max
273abf5225
Fixed variant decoding Segmentation Fault
(cherry picked from commit 6aede992a9)
2022-02-15 12:30:40 +01:00
Bartłomiej T. Listwon
51d028fce0
Audio quality improvements in PitchShift
(cherry picked from commit 29b6ed9283)
2022-02-15 12:30:17 +01:00
Bartłomiej T. Listwon
6471d0a57a
Pass audio samples untouched for pitch_scale around 1.0f
(cherry picked from commit c02e979dbf)
2022-02-15 12:28:31 +01:00
Hugo Locurcio
5ca3a360d1
Clarify identical hash() return values due to collisions
(cherry picked from commit 08541fe11d)
2022-02-15 12:27:57 +01:00
bruvzg
48f3237477
[macOS] Add missing translation file.
(cherry picked from commit 1aa6a95081)
2022-02-15 12:23:46 +01:00
Hugo Locurcio
695da68188
Tweak logo max width on the web editor
The logo's maximum width is now dependent on the viewport height
in addition to the page width. This prevents the "Start Godot editor"
button from overflowing the page on mobile devices (although the
"Clear persistent data" and "Web editor documentation" buttons will
still overflow for now).

(cherry picked from commit 34a4ff0cef)
2022-02-15 12:23:46 +01:00
Hugo Locurcio
d0fba915dc
Allow using the web editor on any device orientation
On tablets and foldable phones, the editor can remain usable
while in portrait mode thanks to the wide display.

(cherry picked from commit 078475f354)
2022-02-15 12:23:46 +01:00
Jean-Michel Bernard
9b7147157d
Hide Polygon2D lines and handles when node is not visible in tree.
(cherry picked from commit b0ebbd8ece)
2022-02-15 12:23:46 +01:00
Jean-Michel Bernard
cb885e97c5
Hide CollisionShape2D handles when node is not visible in tree.
(cherry picked from commit ef995b222e)
2022-02-15 12:23:45 +01:00
BimDav
b343660dac
has_setting now correctly returns true when the setting is present due to a feature tag
(cherry picked from commit d39e416c61)
2022-02-15 12:23:45 +01:00
Haoyu Qiu
a25137c48e Utilize mouse position when zooming with shortcuts in 2D editor 2022-02-15 16:49:00 +08:00
Rémi Verschelde
869939c09f
Merge pull request #58085 from lawnjelly/buffer_upload_bytes_bug
Fix GL buffer upload size bugs
2022-02-15 07:43:02 +01:00
Rémi Verschelde
cd531852d5
Merge pull request #58101 from Calinou/environment-clamp-sky-contribution-3.x
Clamp environment light sky contribution to the [0.0; 1.0] range
2022-02-15 07:38:26 +01:00
kleonc
ff06d0978a NavMap Fix polygons being treated like triangle strips instead of triangle fans 2022-02-14 18:22:02 +01:00
Hugo Locurcio
08128351a5
Clamp environment light sky contribution to the [0.0; 1.0] range
The value is already clamped in the editor, but it wasn't being
clamped when the value was set via code. Values outside the [0.0; 1.0]
range can result in broken rendering.
2022-02-14 17:15:06 +01:00
Rémi Verschelde
9bb6f9576d
Merge pull request #58092 from Calinou/code-edit-improve-completion-scroll-bar-visibility-3.x 2022-02-14 15:48:59 +01:00
Hugo Locurcio
53b96095eb
Improve completion scroll bar visibility in the script editor (3.x)
This makes the scroll bar bar thicker and more opaque (roughly
matching the editor theme's scroll bar by default).
2022-02-14 14:54:35 +01:00
lawnjelly
614dc363ab Fix GL buffer upload size bugs
Wrapper functions for uploading buffers to OpenGL take all sizes and offsets in bytes. Some buffer sizes are specified as units (e.g. float) so require conversion to bytes when calling the buffer upload functions.

Two such bugs have been fixed in blendshapes, and parameter names and comments have been changed to emphasize that sizes should be in bytes.

In addition DEV_ASSERTS in the upload wrappers have been changed to ERR_FAIL.
2022-02-14 10:56:06 +00:00
Rémi Verschelde
f68a6daf7d
Merge pull request #58080 from timothyqiu/anim-dup-name-3.x
[3.x] Make duplicate animation prompt for new name
2022-02-14 09:44:22 +01:00
Haoyu Qiu
aaf29c2d58 Make duplicate animation prompt for new name 2022-02-14 14:48:34 +08:00
Rémi Verschelde
d0b446c6d5
Merge pull request #45372 from Firepal/prepass-nightmares 2022-02-11 15:19:26 +01:00
Rémi Verschelde
2771e3a0ae
Merge pull request #57947 from akien-mga/3.x-cherrypicks 2022-02-11 13:45:03 +01:00
Firepal
ff55157d3f Don't use prepass threshold with alpha scissor 2022-02-11 12:01:15 +01:00