Commit graph

41988 commits

Author SHA1 Message Date
Markus Sauermann
0d96dbcb2a Use get_cursor_shape for identifying the cursor shape in AnimationNodeStateMachineEditor
get_cursor_shape() is used in cases where a Control displays different cursors in different areas.
There is no need to set the default cursor shape on every mouse move event.

Fix minor issue with selection order.
2022-03-11 19:10:45 +01:00
Rémi Verschelde
3f3826edb8
Merge pull request #59007 from novaplusplus/code_edit_from_to_error_fix 2022-03-11 16:06:00 +01:00
Rémi Verschelde
e56b69269f
Merge pull request #59013 from bruvzg/fake_bold_italics 2022-03-11 14:24:13 +01:00
Rémi Verschelde
6992c6e2fc
Merge pull request #59026 from Sauermann/fix-cursorshape-animationtrackedittypeaudio 2022-03-11 14:23:39 +01:00
Markus Sauermann
24942214d9 Use get_cursor_shape for identifying the cursor shape in AnimationTrackEditTypeAudio
get_cursor_shape() is used in cases where a Control displays different cursors in different areas.
There is no need to set the default cursor shape on every mouse move event.
2022-03-11 13:17:13 +01:00
bruvzg
b32e8d63d8
Add options to embolden and transform font outlines to simulate bold and italic typefaces. 2022-03-11 14:02:30 +02:00
Rémi Verschelde
015fdfc28d
Merge pull request #58986 from akien-mga/diraccessref 2022-03-11 12:51:22 +01:00
Rémi Verschelde
1e099afc8a
Merge pull request #59016 from Sauermann/fix-cursorshape-animationtimelineedit 2022-03-11 11:05:56 +01:00
Rémi Verschelde
952b71a425
Merge pull request #58751 from bruvzg/loc_str_props 2022-03-11 10:45:02 +01:00
Markus Sauermann
4a8a6f892f Use get_cursor_shape for identifying the cursor shape in AnimationTimelineEdit
get_cursor_shape() is used in cases where a Control displays different cursors in different areas.
There is no need to set the default cursor shape on every mouse move event.
2022-03-11 10:18:27 +01:00
Rémi Verschelde
768f9422bc Convert uses of DirAccess * to DirAccessRef to prevent memleaks
`DirAccess *` needs to be deleted manually, and this is often forgotten
especially when doing early returns with `ERR_FAIL_COND`.
`DirAccessRef` is deleted automatically when it goes out of scope.

Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
2022-03-11 09:13:11 +01:00
Rémi Verschelde
259114e9e0
Merge pull request #59001 from BastiaanOlij/only_uninitialise_openxr_if_initialised
Only uninitialise OpenXR on destruct if it was initialized
2022-03-11 08:06:56 +01:00
Rémi Verschelde
af9a60d5b3
Merge pull request #58965 from TechnoPorg/remove-stex-occurrences
Remove more occurrences of "stex"
2022-03-11 08:00:52 +01:00
Rémi Verschelde
abbbcf0c32
Merge pull request #59005 from timothyqiu/unused-code
Remove unused code in `AnimationPlayerEditor::_update_animation_list_icons()`
2022-03-11 07:59:08 +01:00
Rémi Verschelde
c291b48209
Merge pull request #59002 from MythTitans/fix-visible-seam-torus
Fix normals computation at the 'seam' of smoothed torus shape
2022-03-11 07:56:40 +01:00
nova++
4b8fa3716f Fix "p_from_line > p_to_line" errors in text edit
Done via making the function more robust to different inputs
2022-03-11 01:13:45 -05:00
TechnoPorg
f4bc9f5821 Remove more occurrences of "stex" 2022-03-10 18:31:48 -07:00
Haoyu Qiu
6a1e3380f8 Remove unused code in AnimationPlayerEditor::_update_animation_list_icons() 2022-03-11 07:51:15 +08:00
MythTitans
8bcbaff411 Fix normals computation at the 'seam' of smoothed torus shape 2022-03-11 00:16:30 +01:00
Bastiaan Olij
d2ef2715ea Only uninitialise OpenXR on destruct if it was initialised 2022-03-11 09:59:04 +11:00
Rémi Verschelde
7866c98479
Merge pull request #58335 from maiself/fix-directory-delete-linux 2022-03-10 21:29:40 +01:00
Rémi Verschelde
26fd6fe2b2
Merge pull request #58485 from aaronfranke/time-offset 2022-03-10 21:13:29 +01:00
Rémi Verschelde
7e4a8d3ab3
Merge pull request #58706 from timothyqiu/property-i18n 2022-03-10 21:09:50 +01:00
Rémi Verschelde
1c51fd48db
Merge pull request #58781 from BastiaanOlij/openxr_signals_and_events
Adding signals and events to OpenXR interface
2022-03-10 18:10:26 +01:00
Rémi Verschelde
8a1c40341c
Merge pull request #58984 from rcorre/export-create 2022-03-10 14:39:44 +01:00
Rémi Verschelde
0a8f8b0e08
Merge pull request #58981 from EricEzaM/improvement/popup-menu-even-spacing 2022-03-10 14:11:14 +01:00
Rémi Verschelde
9b59736473
Merge pull request #58972 from reduz/expose-more-gdextension 2022-03-10 14:09:17 +01:00
Ryan Roden-Corrent
66a278f585
Create parent directories on export.
Fixes #42231.

This works for both the UI and the --export CLI flag.
2022-03-10 07:35:30 -05:00
Eric M
862a88e906 Editor Style: make popup menu vseparation even, and force it to be even. 2022-03-10 21:51:26 +10:00
Rémi Verschelde
90faf04f29
Merge pull request #56476 from gerhean/fix_shortcut_collapse_after_edit 2022-03-10 12:49:27 +01:00
Fabio Alessandrelli
420982dfeb
Merge pull request #58735 from Calinou/editor-visual-profiler-tweak-frame-time-label
Tweak editor visual profiler frame time label for consistency
2022-03-10 12:39:27 +01:00
reduz
6f51eca1e3 Discern between virtual and abstract class bindings
* Previous "virtual" classes (which can't be instantiated) are not corretly named "abstract".
* Added a new "virtual" category for classes, they can't be instantiated from the editor, but can be inherited from script and extensions.
* Converted a large amount of classes from "abstract" to "virtual" where it makes sense.

Most classes that make sense have been converted. Missing:

* Physics servers
* VideoStream
* Script* classes.

which will go in a separate PR due to the complexity involved.
2022-03-10 12:28:11 +01:00
Rémi Verschelde
741bbb9d7c
Merge pull request #58690 from elmordo/bugfix-57553-gdextension-inheritance-fix 2022-03-10 11:23:18 +01:00
Rémi Verschelde
0f73170180
Merge pull request #58978 from Sauermann/revert-58913 2022-03-10 10:41:00 +01:00
Markus Sauermann
40c08e522f Revert "Update mouse cursor shape after changes"
This reverts commit 0fce98b4b5.
2022-03-10 09:43:06 +01:00
Rémi Verschelde
83f2942a04
Merge pull request #58969 from timothyqiu/ani-editor-theme
Fix some Animation panel icons not updating after theme change
2022-03-10 08:59:39 +01:00
Rémi Verschelde
277b0dddee
Merge pull request #58958 from hoontee/master
Revert #52647 (Don't update CSG Shape when not inside tree)
2022-03-10 08:34:26 +01:00
Rémi Verschelde
e19da63009
Merge pull request #58946 from akien-mga/remove-unused-bullet-code
Remove unused Bullet module and thirdparty code
2022-03-10 08:01:04 +01:00
Rémi Verschelde
1571c982ca
Merge pull request #58963 from timothyqiu/texture-region-grid-color
Fix TextureRegion editor grid color for light themes
2022-03-10 08:00:25 +01:00
Haoyu Qiu
83828c7d1b Fix some Animation panel icons not updating after theme change 2022-03-10 14:46:03 +08:00
Bastiaan Olij
d11cb5fe98 Adding signals and events to OpenXR interface
Improving interaction profile logic
2022-03-10 17:14:56 +11:00
Haoyu Qiu
af16e099ea Fix TextureRegion editor grid color for light themes 2022-03-10 10:59:01 +08:00
hoontee
9c312c486c
Revert #52647 2022-03-09 17:25:45 -06:00
Rémi Verschelde
450ebaab9f
Merge pull request #58950 from akien-mga/fix-undoredo-argcount 2022-03-09 22:59:54 +01:00
Rémi Verschelde
b85e5d51b2 Fix UndoRedo method call argument count after #58929 2022-03-09 22:21:00 +01:00
Rémi Verschelde
3d7f155586 Remove unused Bullet module and thirdparty code
It has been disabled in `master` since one year (#45852) and our plan
is for Bullet, and possibly other thirdparty physics engines, to be
implemented via GDExtension so that they can be selected by the users
who need them.
2022-03-09 21:45:47 +01:00
Rémi Verschelde
97cb90aa3a
Merge pull request #58907 from novaplusplus/gutter_spam_fix 2022-03-09 21:13:24 +01:00
Rémi Verschelde
33c907f9f5
Merge pull request #58929 from reduz/remove-variant-arg-macros
Remove VARIANT_ARG* macros
2022-03-09 20:48:45 +01:00
Rémi Verschelde
f17c5501eb
Merge pull request #58865 from timothyqiu/more-i18n
Add missing i18n to various strings
2022-03-09 20:38:19 +01:00
Rémi Verschelde
3a7dd7f323
Merge pull request #58937 from hoontee/master
Add SNAME macro optimization missed during rebase of #40814
2022-03-09 20:35:47 +01:00