Commit Graph

50913 Commits

Author SHA1 Message Date
71ed83d301 Warn when trying to enable TAA from mobile or gl_compatibility backend
TAA should only be enabled from the forward_plus renderer for now
2023-01-16 13:32:40 -08:00
0ddd9c3e8f Merge pull request #71526 from clayjohn/RD-sun-scatter
Properly initialize directional_light_count in RD sky shaders
2023-01-16 22:30:54 +01:00
ecfd57026e Merge pull request #71375 from clayjohn/LightmapGI-crash
Enforce a default minimum lightmap size hint size
2023-01-16 22:28:36 +01:00
4005fc4b8d Merge pull request #71279 from vonagam/fix-iterator-number-type
GDScript: Fix typing of iterator in for loop
2023-01-16 22:21:26 +01:00
5f4dbea886 Merge pull request #71513 from bruvzg/mpass_docs
Fix typo and add missing docs for WINDOW_FLAG_MOUSE_PASSTHROUGH.
2023-01-16 22:21:04 +01:00
1c3653e083 Merge pull request #67774 from aaronfranke/script-annotations
Make script annotations be placed before `class_name` and `extends`
2023-01-16 22:20:44 +01:00
2c26912762 Merge pull request #71518 from akien-mga/add-LINUXBSD_ENABLED-for-non-x11-checks
Linux/BSD: Add LINUXBSD_ENABLED define for non X11-related checks
2023-01-16 22:20:22 +01:00
44c27802b2 add RichTextLabel::push_font_size description
Is it worth adding descriptions for the ItemType enum values (ITEM_FRAME , ITEM_TEXT etc.) or are they self explanatory enough?
2023-01-16 14:15:41 -07:00
585a934454 Merge pull request #71434 from adamscott/fix-reduce-identifier-from-base-class-script-retrieval
Fix cyclic reference errors while reducing identifiers
2023-01-16 22:15:21 +01:00
5f7ac9fe10 Merge pull request #71496 from raulsntos/dotnet/sincos
C#: Implement `Mathf.SinCos`
2023-01-16 22:13:46 +01:00
2156250471 Merge pull request #62236 from MinusKube/master
Fix polyline not supporting closed polygons and not having a uniform width
2023-01-16 22:13:07 +01:00
ae3ca04aba Merge pull request #69598 from Sauermann/fix-focus-inverse
Calculate the mouse focus inverse transform only when needed
2023-01-16 22:11:23 +01:00
14a6a5b79f Merge pull request #71077 from rsjtdrjgfuzkfg/obj-import
obj: Avoid empty names and meshes
2023-01-16 22:10:30 +01:00
8b3db6e9ce Properly initialize directional_light_count in RD sky shaders 2023-01-16 13:05:52 -08:00
0442a65656 obj: Avoid empty names and meshes
This commit updates the obj importer to properly name imported meshes and
permits it to skip meshes that do not contain geometry. This fixes at
least one crash and several warnings and avoids unnecessary meshes being
generated when importing obj files that do not contain geometry that is
not assigned to a named object (such as when exporting from Blender).
2023-01-16 20:55:59 +01:00
01af885e69 Fix draw_polyline not supporting closed polygons and not having a uniform offset 2023-01-16 20:27:30 +01:00
21a88578e9 Make keyboard shortcuts in tile data editors consistent with tilemap editor. Fix a bug with collision shapes painting. 2023-01-16 18:50:11 +01:00
91a54cdbc1 Linux/BSD: Add LINUXBSD_ENABLED define for non X11-related checks 2023-01-16 17:01:35 +01:00
818a9e99a4 OS: Add unset_environment, better validate input
Instead of returning an undocumented boolean error code, we do the
validation checks that should ensure a successful result.

Based on:
- https://linux.die.net/man/3/setenv
- https://learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-setenvironmentvariable
2023-01-16 16:39:44 +01:00
47e355f965 C#: Make property accessors internal 2023-01-16 15:15:26 +01:00
629796c333 Merge pull request #69970 from poohcom1/fix/autocomplete-custom-class
Fixes https://github.com/godotengine/godot/issues/69941
2023-01-16 09:44:23 -03:00
0ccb5f3954 C#: Implement Mathf.SinCos
Implement `Mathf.SinCos` that wraps a call to `System.Math.SinCos`,
this allows us to use the `SinCos` method more conveniently with
`real_t`.

Using `Math.SinCos` is often cheaper than separate calls to `Math.Sin`
and `Math.Cos`, and they are often used together.
2023-01-16 13:29:32 +01:00
c6ed9bb77e Fix typo and add missing docs for WINDOW_FLAG_MOUSE_PASSTHROUGH. 2023-01-16 14:25:32 +02:00
9ab6fd592e [Git hooks] Add AppleScript dialog script for macOS. 2023-01-16 14:23:06 +02:00
04a39ecd84 Merge pull request #71508 from akien-mga/fix-build-profile-env
SCons: Fix feature build profile being parsed too late
2023-01-16 13:12:59 +01:00
7c00fdcf5d Merge pull request #71507 from groud/fix_add_source_source_id
Fix TileDate::add_source accepting invalid ID values
2023-01-16 12:49:32 +01:00
5ca6c1f9db Merge pull request #70557 from KoBeWi/class_yeet
Move global script class cache to separate file
2023-01-16 12:49:08 +01:00
47689c7d51 Merge pull request #71502 from bruvzg/tooltip_clickthrough
Add `WINDOW_FLAG_MOUSE_PASSTHROUGH` flag and enabled it for tooltips.
2023-01-16 12:48:45 +01:00
673d9c58fd Merge pull request #69851 from dalexeev/fix-scaling-issue
Fix scaling issue in `draw_line` and similar methods
2023-01-16 12:48:22 +01:00
51f0d723b4 Merge pull request #70030 from KoBeWi/why_is_tween
Improve empty Tween error message
2023-01-16 12:47:58 +01:00
750dc4f906 Merge pull request #71369 from Calinou/editor-tweak-executable-file-filters
Tweak fbx2gltf file filter to remove naming restriction
2023-01-16 12:47:34 +01:00
d94a46ab95 Merge pull request #64021 from ajreckof/change-shortcut-for-rect-tool-tilemap
Add `Key::CTRL_OR_CMD` and use it to fix shortcut for tilemap painting tools on macOS
2023-01-16 12:47:07 +01:00
ec3c804ea6 SCons: Fix feature build profile being parsed too late
Also renames the option to just `build_profile`, the previous one was
too verbose and had words in the wrong order.

Fixes #70643.
2023-01-16 12:22:27 +01:00
0dbcf8f735 Fixes TileDate::add_source accepting invalid ID values 2023-01-16 12:14:40 +01:00
a8cbb6245b Fix scaling issue in draw_line and similar methods 2023-01-16 12:49:58 +03:00
34b34b104c Add WINDOW_FLAG_MOUSE_PASSTHROUGH flag and enabled it for tooltips. Expose window_set_mouse_passthrough to Window. 2023-01-16 11:42:49 +02:00
1260cb0bfb Improve empty Tween error message 2023-01-16 10:30:21 +01:00
ea7baa4fdb Tweak fbx2gltf file filter to remove naming restriction
This relaxes the naming restriction on fbx2gltf binaries,
as people may be renaming them then wondering why they've disappeared
from the dialog unless they select "All Files (*)" as a filter.
2023-01-16 10:20:40 +01:00
6444c7d127 Move global script class cache to separate file 2023-01-16 10:16:30 +01:00
0f0b853c98 Merge pull request #70668 from KoBeWi/never_give_up
Retry loading addons after filesystem scan
2023-01-16 09:47:17 +01:00
b45bd946c6 Merge pull request #70669 from KoBeWi/bruh2
Improve ResourcePreloader description
2023-01-16 09:46:52 +01:00
0b5743327c Merge pull request #71436 from TigranExe/patch-1
Added a brief description to SkeletonProfileHumanoid
2023-01-16 09:41:59 +01:00
f96701eda6 Merge pull request #71461 from snoopdouglas/snoopdouglas/master
Class reference: snake_case .tscn & .gd filenames, _on_* callbacks
2023-01-16 09:41:36 +01:00
2d214c8881 Merge pull request #70685 from stmSi/fix-nan-graphedit-infinite-loop
Fix: NaN value making infinite loop inside GraphEdit's `NOTIFICATION_DRAW`
2023-01-16 09:41:08 +01:00
c24fa79061 Merge pull request #71498 from bruvzg/win_init_size
[Windows] Fix incorrect full-screen mode applied on start.
2023-01-16 09:26:02 +01:00
f639f5096e Merge pull request #71485 from adamscott/history-local
Save history when goto script line in the text editor
2023-01-16 09:25:39 +01:00
517b7fc468 Merge pull request #71308 from hcoura/test-curve-2d
Add unit tests for Curve2D
2023-01-16 09:25:15 +01:00
da57e0059e Merge pull request #70504 from KoBeWi/the_choosen_antipattern
Add EditorUndoRedoManager singleton
2023-01-16 09:24:50 +01:00
6a487cc243 Merge pull request #71477 from aaronfranke/gltf-append-doc
Improve the documentation of GLTFDocument's append methods
2023-01-16 09:24:27 +01:00
5663c78bd2 Merge pull request #43399 from KoBeWi/path_stalking
Update PathFollow2D when curve is changed
2023-01-16 09:24:03 +01:00