Commit graph

41200 commits

Author SHA1 Message Date
Rémi Verschelde
a5963500b9
Merge pull request #57818 from raulsntos/typed-navigation 2022-02-08 22:19:55 +01:00
Ignacio Roldán Etcheverry
f05f2dd80f
Merge pull request #57076 from IgorKordiukiewicz/fix-mono-string-capitalize
String.Capitalize() in C# now matches the behaviour of String::capitalize() in C++
2022-02-08 22:16:54 +01:00
Raul Santos
68b04a5a07 Add array element type to _get_polygons and _get_outlines 2022-02-08 21:15:25 +01:00
Rémi Verschelde
76ce5c16f3
Merge pull request #55584 from KoBeWi/twoids 2022-02-08 21:14:51 +01:00
Rémi Verschelde
faeb71865e
Merge pull request #56946 from JFonS/editor_transform_improvements 2022-02-08 21:13:00 +01:00
jfons
8345aabaf4 Improve rotation in the 3D transform gizmo
* Get rid of deadzones.
* Make it easier to select rotation handles at very oblique angles.
* Handle rotation for axes that are perpendicular to the camera.
2022-02-08 20:56:59 +01:00
Rémi Verschelde
39562294ff
Merge pull request #57816 from JFonS/fix_3d_viewport_navigation 2022-02-08 19:55:36 +01:00
jfons
e0c82913ff Fix navigation in 3D viewport
The incorrect initialization of EditData::instant to true was preventing the navigation code to run until the transform gizmo was used.
2022-02-08 19:24:50 +01:00
kobewi
4397109aab Fix uid conflict when duplicating resource 2022-02-08 18:04:19 +01:00
Rémi Verschelde
592e92d938
Merge pull request #57809 from akien-mga/osx-11.00-warning 2022-02-08 17:32:49 +01:00
Rémi Verschelde
72de251501
Merge pull request #57807 from KoBeWi/ninja_methods 2022-02-08 17:32:33 +01:00
Rémi Verschelde
6889085813
Merge pull request #57808 from KoBeWi/named_inspector 2022-02-08 17:32:14 +01:00
Rémi Verschelde
96e4de3511
Merge pull request #57626 from Calinou/3d-editor-rename-debug-draw-modes 2022-02-08 16:42:01 +01:00
Rémi Verschelde
cc097cd22b
Merge pull request #56543 from rcorre/blendermotion-4.0 2022-02-08 16:39:19 +01:00
Rémi Verschelde
d3345ef1f8
OSX: Pass -mmacosx-version-min=11.0 instead of 11.00
Both are recognized by Xcode and equivalent, but osxcross issues a
warning for the latter:
```
osxcross: warning: '-mmacosx-version-min=' (11.0.0 != 11.00)
```
2022-02-08 16:20:13 +01:00
kobewi
0e8147d303 Display built-in script names in the inspector 2022-02-08 16:15:27 +01:00
kobewi
fb1fa2a3f7 Reload built-in scripts when picking methods 2022-02-08 16:06:57 +01:00
Rémi Verschelde
2a39a1c221
Merge pull request #57612 from maiself/improve-gamepad-detection 2022-02-08 15:22:31 +01:00
Rémi Verschelde
e776580c30
Merge pull request #57801 from reduz/fix-blend-shape-mask-2 2022-02-08 15:21:31 +01:00
Rémi Verschelde
cb7f21eac3
Merge pull request #57774 from bruvzg/font_edit_fixes 2022-02-08 15:21:15 +01:00
Rémi Verschelde
4a2f22daf4
Merge pull request #57798 from akien-mga/scons-module-tests-simplify 2022-02-08 14:36:31 +01:00
bruvzg
8e3245383a
[Editor] Fix font style matching issues.
Fix font selection when no style selected.
Fix style matching when fonts have different style sets.
Use SNAME for theme overrides.
2022-02-08 15:20:01 +02:00
Rémi Verschelde
b6ddf4a629
Merge pull request #57692 from YeldhamDev/popping_options 2022-02-08 14:04:28 +01:00
reduz
db43237c78 Fix BLEND_SHAPE_MASK
* Should now be correct
* Supersedes 53738
2022-02-08 13:50:01 +01:00
Rémi Verschelde
e26598b4a1
Merge pull request #40140 from hinlopen/tree-scroll-center 2022-02-08 13:43:19 +01:00
Rémi Verschelde
561fbe2175
Merge pull request #56923 from fire-forge/fix-create-root-node-scrolling 2022-02-08 13:17:35 +01:00
Rémi Verschelde
3495288b03
SCons: Improve logic to generate modules_tests.gen.h
This removes the need for `AlwaysBuild` by ensuring that the proper
files are being tracked as `Depends`.
2022-02-08 13:01:35 +01:00
Rémi Verschelde
f9e496168f
Merge pull request #57786 from 0And/vectorslerp 2022-02-08 12:56:43 +01:00
Rémi Verschelde
b0fd01b50c
Merge pull request #57797 from bruvzg/mac_no_focus 2022-02-08 12:55:49 +01:00
bruvzg
720fbe3101
[macOS] Fix NO_FOCUS macOS flag. 2022-02-08 13:22:03 +02:00
Rémi Verschelde
f425d403fe
Merge pull request #57066 from KoBeWi/in_the_name_of_the_custom 2022-02-08 11:15:01 +01:00
Rémi Verschelde
13d4cbb87c
Merge pull request #57788 from reduz/describe-sname-usage 2022-02-08 11:13:38 +01:00
Rémi Verschelde
a66e55069e
Merge pull request #57796 from akien-mga/revert-sname-theme-setters 2022-02-08 11:13:24 +01:00
Rémi Verschelde
dc17cce995
Merge pull request #57795 from bruvzg/gde_missing_binds 2022-02-08 11:12:44 +01:00
Rémi Verschelde
f32c715fbc
Merge pull request #57720 from akien-mga/prefer-cast-to-get_class-string-compare 2022-02-08 11:09:43 +01:00
Rémi Verschelde
7e308d5120
Merge pull request #57791 from timothyqiu/raycast-clear-except 2022-02-08 10:50:08 +01:00
Rémi Verschelde
6b13056409
Merge pull request #57794 from bruvzg/x11_fs_fix 2022-02-08 10:42:18 +01:00
Rémi Verschelde
deece9035a
Merge pull request #57790 from bruvzg/fix_fs_detect 2022-02-08 10:40:08 +01:00
Rémi Verschelde
6eeeb9a63c
Re-add missing SNAME macros in get_theme_* calls
They were removed in the previous commit reverting the addition of `SNAME`
to `add_theme_*` and theme setter methods, which is not wanted.
2022-02-08 10:31:56 +01:00
Rémi Verschelde
fc076ece3d
Revert "Add missing SNAME macro optimization to all theme methods call"
This reverts commit a988fad9a0.

As discussed in #57725 and clarified in #57788, `SNAME` is not meant to be used
everywhere but only in critical code paths. For theme methods specifically, it
was by design that only getters use `SNAME` and not setters.
2022-02-08 10:17:25 +01:00
Rémi Verschelde
317cd0b19a
Refactor some object type checking code with cast_to
Less stringly typed logic, and less String allocations and comparisons.
2022-02-08 10:08:34 +01:00
bruvzg
4fcc35bdfa
[X11] Fix decoration reset when returning from fullscreen mode. 2022-02-08 11:01:24 +02:00
bruvzg
8bc837453b [Windows] Fix fullscreen mode detection on window move/resize. 2022-02-08 10:36:57 +02:00
Haoyu Qiu
bbcd9c5b97 Fix RayCast{2,3}D.clear_exceptions clears parent 2022-02-08 16:31:07 +08:00
reduz
38232c70db Clarify SNAME usage
* Explain where it should be used, with examples.
* Clarify that it should _not_ be used everywhere, only where needed.
* Supersedes #57720

This PR is the result of the discussion that happened in a contractor meeting, and it attempts to clarify the intended use for this macro for other contributors.
As a personal note, It is my view that other approaches to using SNAME (like having a global or per class table of string names) are mere overengineering without any real benefit (performance remains the same, and usage of stringnames becomes more cumbersome. Additionally, there was not any significant amount of errors in name mismatching as a result of using strings since Godot was open sourced).
2022-02-08 09:21:10 +01:00
Rémi Verschelde
0154ce2c8d
Merge pull request #43015 from Xrayez/refactor-auto-instaprop
Refactor auto-instantiation of `Object` properties in editor
2022-02-08 08:57:29 +01:00
bruvzg
b801742b77
[GDExtension] Add binds for missing methods, operators, and constants required for GDExtension TextServer implementation. 2022-02-08 09:49:14 +02:00
Rémi Verschelde
d6ba4a223f
Merge pull request #57785 from TechnicalSoup/ClassRefPatch2
Add method descriptions to Color class reference
2022-02-08 08:14:21 +01:00
Andrew Jacob
8675ff0a74 Allow C# Vector2/3 slerp values to have any length 2022-02-07 22:58:43 -07:00
TechnicalSoup
acd562be5d Add method descriptions to Color Class Reference
Add definitions and code examples for the html and html_is_valid methods
2022-02-08 16:37:11 +11:00