Commit graph

31803 commits

Author SHA1 Message Date
reduz 77a045e902 Rework Mesh handling on scene importing.
-Reworked how meshes are treated by importer by using EditorSceneImporterMesh and EditorSceneImporterMeshNode. Instead of Mesh and MeshInstance, this allows more efficient processing of meshes before they are actually registered in the RenderingServer.
-Integrated MeshOptimizer
-Reworked internals of SurfaceTool to use arrays, making it more performant and easy to run optimizatons on.
2020-12-13 21:29:51 -03:00
Rémi Verschelde 06314c1b0e
Merge pull request #43030 from bruvzg/ctl_var_font
[Complex Text Layouts] Add variable fonts support.
2020-12-13 20:05:27 +01:00
bruvzg c1d261fdb0
[Complex Text Layouts] Add variable fonts support. 2020-12-13 18:43:39 +02:00
Rémi Verschelde bbf7bb3838
Merge pull request #42595 from bruvzg/ctl_rich_text
[Complex Text Layouts] Refactor RichTextLabel.
2020-12-13 13:42:00 +01:00
Rémi Verschelde 0762484473
Merge pull request #44317 from mbrlabs/geometry2d-docs
Fixed Geometry2D::get_closest_points_between_segments docs
2020-12-12 13:03:09 +01:00
Marcus Brummer 56e5ca38d7 Fixed Geometry2D::get_closest_points_between_segments docs 2020-12-12 12:45:06 +01:00
Rémi Verschelde 2760f5d0b4
Merge pull request #44315 from madmiraal/fix-handles-baseexception
Don't handle BaseException in build scripts
2020-12-12 12:23:07 +01:00
Marcel Admiraal 8ef5e3201c Don't handle BaseException in build scripts 2020-12-12 10:05:42 +00:00
Rémi Verschelde 8c045fc9ff
Merge pull request #44288 from Chaosus/fix_textedit_scrolling
Fixed mouse scrolling in TextEdit's
2020-12-12 09:31:33 +01:00
Rémi Verschelde 7195f6b973
Merge pull request #44270 from Riteo/gobot-face-fix
Remove two very slightly displaced duplicate vertices on Gobot's face
2020-12-11 17:04:51 +01:00
Rémi Verschelde 005536b1f3
Merge pull request #44296 from Xrayez/test-file-access
Add test suite for `FileAccess`
2020-12-11 15:55:02 +01:00
Andrii Doroshenko (Xrayez) ed7014c67a Add test suite for FileAccess 2020-12-11 16:05:18 +02:00
Rémi Verschelde 146316c441
Merge pull request #44294 from GoDino/issue_44269
wrong double quote output with .csv fixed
2020-12-11 15:04:54 +01:00
Rémi Verschelde dc589a64e6
Merge pull request #44279 from KoBeWi/unit_offset_or_something_idk
Fix PathFollow3D updating on unit_offset 0
2020-12-11 12:18:53 +01:00
Alf Kraus 68fdd753a7 wrong double quote output with .csv fixed 2020-12-11 11:42:43 +01:00
Yuri Roubinsky 2d4ef1c193 Fixed mouse scrolling in TextEdit's 2020-12-11 12:51:10 +03:00
bruvzg 6b6f101983
[Complex Text Layouts] Refactor RichTextLabel. 2020-12-11 09:48:49 +02:00
Lorenzo Cerqua 17b9cb2cdf Remove two very slightly displaced duplicate vertices on Gobot's face
They didn't show up at all in the rendered PNG, but were pretty annoying when working with Gobot face on Inkscape
2020-12-11 07:05:54 +01:00
Tomasz Chabora cd42e938fc Fix PathFollow3D updating on unit_offset 0 2020-12-11 01:35:10 +01:00
Rémi Verschelde 32c06dfc8d
Merge pull request #44271 from akien-mga/pvrtc-compress-cleanup
PVRTC: Move compress func to `modules/pvr`, drop obsolete PVRTexTool code
2020-12-11 00:16:00 +01:00
Rémi Verschelde 9263f8eb4b
Image: Rename PVRTC{2,4} to PVRTC1_{2,4}, drop COMPRESS_PVRTC2
We haven't had a proper implementation for COMPRESS_PVRTC2 (which is PVRTC1 2-bpp) in years,
so let's drop it instead of keeping a compress type which doesn't work.

The other enum values were renamed to clarify that our PVRTC2 and PVRTC4 are respectively
PVRTC1 2-bpp and PVRTC1 4-bpp. PVRTC2 2-bpp and 4-bpp are not implemented yet.
2020-12-10 23:14:04 +01:00
Rémi Verschelde 1a31274855
PVRTC: Move compress func to modules/pvr, drop obsolete PVRTexTool code
The code we had for PVRTexTool doesn't work as it's not compatible with current
PVRTexTool CLI options, and likely hasn't been for years.

Instead, we have our own vendored pvrtccompressor thirdparty library which all
users have thus de-facto been using. This commit moves the compress code to
`modules/pvr` where it belongs.

There's no proper compress function for PVRTC 2-bit format, that's a bug that
will need to be fixed (currently it's compressed as 4-bit format even if you
use Image::FORMAT_PVRTC2).

Fixes #28669.
2020-12-10 22:08:01 +01:00
Rémi Verschelde 5b3e2dcaba
Merge pull request #44266 from akien-mga/js-export-code-cleanup
HTML5: Code style cleanup for export code
2020-12-10 15:48:58 +01:00
Rémi Verschelde d26cbc41a6
i18n: Sync translations with Weblate
(cherry picked from commit 3e20a98503)
2020-12-10 14:50:29 +01:00
Rémi Verschelde d62dcb6b01
Merge pull request #44267 from madmiraal/rename-viewport-enums
Rename Viewport::ClearMode::CLEAR_MODE_ONLY_NEXT_FRAME to CLEAR_MODE_ONCE
2020-12-10 14:28:37 +01:00
Rémi Verschelde 2ac8c3b6dc
Merge pull request #44265 from YeldhamDev/popupmenu_circle_back_disabled
Allow to circle back in 'PopupMenu' even if the first/last item is non-selectable
2020-12-10 13:57:56 +01:00
Rémi Verschelde 8020515717
HTML5: Code style cleanup for export code 2020-12-10 13:57:46 +01:00
Michael Alexsander bb39088201 Allow to circle back in 'PopupMenu' even if the first/last item is non-selectable 2020-12-10 09:32:02 -03:00
Marcel Admiraal 284642be01 Rename Viewport::ClearMode::CLEAR_MODE_ONLY_NEXT_FRAME to CLEAR_MODE_ONCE 2020-12-10 12:24:49 +00:00
Rémi Verschelde 9aec0ad3b3
Merge pull request #44262 from akien-mga/fsdock-move-mention-conflicting-files
FileSystemDock: List conflicting files on move
2020-12-10 13:13:35 +01:00
Rémi Verschelde 7dc41ff310
FileSystemDock: List conflicting files on move
Fixes #24167.
2020-12-10 12:53:56 +01:00
Rémi Verschelde d8fdb8796a
Merge pull request #44260 from madmiraal/rename-area3d-audio_bus_name
Rename Area3D audio_bus_name getter and setter
2020-12-10 12:15:46 +01:00
Rémi Verschelde 37d0d757d6
Merge pull request #40708 from bruvzg/improve_os_locale
Improve `OS::get_locale()` and documentation.
2020-12-10 11:49:00 +01:00
Rémi Verschelde 2a325f3888
Merge pull request #44233 from YeldhamDev/popupmenu_circle_back
Re-add circle back scrolling to 'PopupMenu'
2020-12-10 11:16:38 +01:00
Rémi Verschelde d4d05783d6
Merge pull request #44248 from Nickswoboda/fix-dragging-0-items
Fix scene being modified when arrows are pressed with no node selected
2020-12-10 11:15:34 +01:00
Rémi Verschelde 67259d07db
Merge pull request #44070 from YeldhamDev/popupmenu_separator_font_color
Add "font_color_separator" theme property to 'PopupMenu'
2020-12-10 11:13:07 +01:00
Rémi Verschelde bc9b54d6ab
Merge pull request #43920 from Calinou/doc-videoplayer-no-remapping
Document the lack of localization remapping support in VideoPlayer
2020-12-10 10:57:09 +01:00
Rémi Verschelde 47538ef9a4
Merge pull request #44234 from jeffuntildeath/master
fix for snap to floor editor crash bug
2020-12-10 10:52:24 +01:00
Rémi Verschelde a20a32cb44
Merge pull request #44197 from Faless/fix/4.x_easing
Fix some easing equations' undefined behaviours.
2020-12-10 10:49:32 +01:00
Rémi Verschelde 47fc78b599
Merge pull request #44016 from KoBeWi/emit_me_senpai
Mention that 'changed' signal needs manual emit
2020-12-10 10:48:46 +01:00
Marcel Admiraal daa084d004 Rename Area3D audio_bus_name getter and setter 2020-12-10 08:31:14 +00:00
Rémi Verschelde 70c435272a
Merge pull request #44124 from volzhs/tabs-in-front
Add option to draw all tabs in front
2020-12-10 07:55:41 +01:00
Nick Swoboda 66827337fd Fix scene being modified when arrows are pressed with no node selected 2020-12-09 16:52:12 -08:00
volzhs 814f9015f8 Add option to draw all tabs in front 2020-12-10 07:47:10 +09:00
Rémi Verschelde d8825fb253
Merge pull request #44221 from Faless/js/4.x_editor_beta
[HTML5] Editor style, audio fixes
2020-12-09 20:35:46 +01:00
jeffuntildeath 52f6e0b5ad fix for snap to floor editor crash bug
fix for issue #44231: snap_selected_nodes_to_floor() results in an editor
crash when a child collisionshape has invalid shape object
2020-12-09 12:09:41 -06:00
Fabio Alessandrelli eb2152538c [HTML5] Fix errors when Mic is not allowed. 2020-12-09 17:54:50 +01:00
Fabio Alessandrelli a28d5e2be7 [HTML5] Improve platform buildsystem.
Check emcc version requirements when building GDNative.
Add more build options (sanitizers, initial memory).
2020-12-09 17:54:50 +01:00
Fabio Alessandrelli 6bc07cf777 [HTML5] Add logo and favicon to editor html. 2020-12-09 17:54:50 +01:00
Rémi Verschelde bc30df831c
Merge pull request #44229 from YeldhamDev/audiostreammp3_icon
Add icon for 'AudioStreamMP3' resource
2020-12-09 17:39:33 +01:00