Commit Graph

34697 Commits

Author SHA1 Message Date
Rémi Verschelde 37740ecb0e
Merge pull request #47032 from Calinou/doc-acos-atan-range
Document the valid input range for `acos()` and `atan()`
2021-03-15 20:59:14 +01:00
Rémi Verschelde 8e293bac4e
Merge pull request #47033 from timothyqiu/crash-fix
Fix AnimationTree editor crash when renaming node
2021-03-15 18:33:31 +01:00
Rémi Verschelde da15867b8c
Merge pull request #47027 from Faless/net/4.x_upnp_null_fixes
[Net] Fix miniupnpc when no interface is specified
2021-03-15 18:32:04 +01:00
Fabio Alessandrelli 163fc125cd [Net] Fix miniupnpc when no interface is specified
This is a tricky one, it used to work, but it was wrong, because in such
a scenario instead of passing NULL as required by the API, it would pass
a buffer containing the `\0` terminator.
This stopped working on a specific miniupnpc version, when they fixed
some network endianess issue on Windows, to which we made a workaround,
which in turn would probably result in failures when the interface is
specified.

This commit address the issue properly, by checking the specified
interface string size, and correctly passing NULL instead of the empty
string when necessary.

Also reverts the commit that introduced the bogus workaround:
e85330231c

One of those PR when the explaination is much longer then code changes
:).
2021-03-15 17:33:26 +01:00
Hugo Locurcio d359e159da
Document the valid input range for `acos()` and `atan()` 2021-03-15 17:25:22 +01:00
Haoyu Qiu eac806547f Fix AnimationTree editor crash when renaming node 2021-03-16 00:21:20 +08:00
Gilles Roudière ac7073f586 Allow Navigation to be more flexible 2021-03-15 15:58:59 +01:00
Rémi Verschelde 6eef187a81
Merge pull request #46993 from gongpha/check-if-edit-called-via-editor
Check if _edit_set_position and _edit_set_rect was used outside an editor
2021-03-15 08:57:45 +01:00
Rémi Verschelde d1b5c1d09f
Merge pull request #47019 from neikeq/csharp-fix-disconnec-events-signals-twice
C#: Fix disconnecting event signals twice
2021-03-15 08:36:48 +01:00
Kongfa Waroros b80406770f Check if _edit_set_position and _edit_set_rect was used outside an editor 2021-03-15 14:34:24 +07:00
Rémi Verschelde 5375da2fdb
Merge pull request #44333 from lupoDharkael/preferred-extension
Save resource: give .res less priority as preferred extension
2021-03-15 08:22:09 +01:00
Rémi Verschelde db0355cb07
Merge pull request #37065 from dreamsComeTrue/ruler-origin-fix
Reset ruler tool when switching tools with shortcuts
2021-03-15 08:15:07 +01:00
Rémi Verschelde a4fd6d374c
Merge pull request #47010 from akien-mga/modernized_thread_fix_freebsd
Thread: Re-add pthread_np.h include for FreeBSD/OpenBSD
2021-03-15 07:13:54 +01:00
Ignacio Etcheverry 5b3b9cd63b C#: Fix disconnecting event signals twice
`disconnect_event_signals` can be called twice (when managed instance
is disposed and from the ScriptInstance destructor).
2021-03-15 07:08:10 +01:00
Aaron Franke 682286fec8
Improve documentation for AtlasTexture 2021-03-14 21:18:50 -04:00
Dominik 'dreamsComeTrue' Jasiński a99a671034 Reset ruler tool when switching tools with shortcuts
Fixes: #37056
2021-03-15 00:28:52 +01:00
Rémi Verschelde 7a64819c2f
Thread: Re-add pthread_np.h include for FreeBSD/OpenBSD
Was a regression from #45315.

Fixes #46998.
2021-03-14 22:42:48 +01:00
Rémi Verschelde b060ca680a
Merge pull request #47004 from Calinou/editor-move-to-trash-windows
Use OS-specific terminology for "Move to Trash" in the editor filesystem
2021-03-14 22:00:15 +01:00
Rémi Verschelde e726bf95e4
Merge pull request #47008 from pycbouh/tab-container-stale-texts
Fix stale tab names in TabContainer
2021-03-14 21:59:42 +01:00
Hugo Locurcio 79e31efd40
Use OS-specific terminology for "Move to Trash" in the editor filesystem
This closes https://github.com/godotengine/godot-proposals/issues/2460.
2021-03-14 21:18:58 +01:00
Yuri Sizov 0c41411fe8 Fix stale tab names in TabContainer 2021-03-14 22:54:46 +03:00
Rémi Verschelde 31bf926eb4
Merge pull request #47003 from bruvzg/rtl_bbcode_and_sel_fix
Fix RTL BBCode range regression and selection issues.
2021-03-14 20:13:46 +01:00
bruvzg 48698ccb9f
Fix RTL BBCode range regression and selection issues. 2021-03-14 19:54:48 +02:00
Marcel Admiraal 3dcdb84660 Rename Sprite.region_enabled getter and setter to match properties
Also renames Sprite2D.region_filter_clip property and its setter to
region_filter_clip_enabled and set_region_filter_clip_enabled.
2021-03-14 17:31:49 +00:00
Rafał Mikrut 0b298d201e Allow to not optimize release build 2021-03-14 15:51:05 +01:00
Rémi Verschelde 6edb0a75ab
Merge pull request #46936 from DavidSichma/match_temp_header
Fixed match test expression for temporaries
2021-03-14 15:46:53 +01:00
Rémi Verschelde 2e2d533b48
Merge pull request #46971 from YeldhamDev/editinspec_theme_fix
Fix EditorInspector not updating its theme on rare occasions
2021-03-14 11:58:30 +01:00
Rémi Verschelde adeae2deae
Merge pull request #46990 from gongpha/check-in-camera-feed
Check if an input image wasn't Image on several functions in CameraFeed
2021-03-14 11:48:59 +01:00
Rémi Verschelde 55d9c31dcb
Merge pull request #46943 from jmb462/fix-editor-slider-grabber-zoomed-bad-position
Fix EditorSpinSlider grabber zoom issues (Fix #46632)
2021-03-14 11:35:46 +01:00
Rémi Verschelde 61155b5e29
Merge pull request #46942 from ray90514/debug
Fix Node can not be reselected
2021-03-14 11:34:02 +01:00
Kongfa Waroros 916e576021 Check if an input image wasn't Image on several functions in CameraFeed 2021-03-14 16:47:21 +07:00
Rémi Verschelde dc038bd7c3
Merge pull request #46799 from goostengine/module-includes
Provide missing include path for custom modules
2021-03-14 01:16:11 +01:00
Rémi Verschelde 8051307efe
Merge pull request #46810 from W4RH4WK/file-access-get-buffer-parameter-checks
Add parameter checks to FileAccess get_buffer functions
2021-03-14 01:11:55 +01:00
Rémi Verschelde a9bdc5dec0
Merge pull request #46986 from akien-mga/clang-format-hook-version-number
clang-format: Fix version number in hook warning
2021-03-14 01:08:30 +01:00
Rémi Verschelde f4d46f6290
clang-format: Fix version number in hook warning 2021-03-14 01:07:14 +01:00
Rémi Verschelde df4019c0da
Merge pull request #46970 from jmb462/fix-crash-on-closing-empty-modified-scene
Fix crash on closing empty modified scene (Fix #46959)
2021-03-14 01:04:32 +01:00
Rémi Verschelde 1066dbcecc
Merge pull request #46968 from sboronczyk/fix-editor-plugin-mono
Fix create c# script from editor after partial class type is necessary
2021-03-14 00:27:34 +01:00
Rémi Verschelde f381ea8bb6
Merge pull request #46985 from jmb462/Fix-Asset-Library-URL-editor-update
Fix Asset Library URLs not updating without restarting after been changed in editor settings (Fix #46977)
2021-03-14 00:20:38 +01:00
jmb462 6525d74623 Fix Asset Library URL not updating after been changed in editor settings
The changes made in this commit refresh the URL OptionButton when editor settings are modified.

No need to restart any more for the changes to appear in the Asset Library.

Fix #46977
2021-03-13 22:55:59 +01:00
sboronczyk 3e7c5d2ca5 fix issue vulkan crash on open shader materials 2021-03-13 22:54:33 +01:00
Rémi Verschelde 21aabc4fe3
Merge pull request #46969 from Pop0p/fix_folder_stripedges
Remove whitespaces when creating folder
2021-03-13 22:22:27 +01:00
Rémi Verschelde 0fd723d3ec
Merge pull request #46941 from goostengine/asan-msvc
Add `use_asan` option for MSVC to enable AddressSanitizer
2021-03-13 22:10:01 +01:00
lupoDharkael f2e906496b Save resource: implement extension priority
give .res less priority and .tres more priority as preferred
extensions.
2021-03-13 22:09:17 +01:00
Rémi Verschelde 223a06955e
Merge pull request #46978 from jmb462/fix-hardcoded-maya-style-pan-key-modifier
Fix hardcoded Maya style navigation pan key modifier (Fix #46973)
2021-03-13 22:03:40 +01:00
Rémi Verschelde 7015027cbf
Merge pull request #46900 from Ev1lbl0w/bugfix-malloc_calls
Replace malloc's with Godot's memalloc macro
2021-03-13 21:55:52 +01:00
Rémi Verschelde 0e3aae00d8
Merge pull request #46919 from nekomatata/soft-body-gizmo-fix
Fix pinned vertices in SoftBody editor gizmo
2021-03-13 21:52:38 +01:00
Rémi Verschelde 0444f5ac47
Merge pull request #46946 from Calinou/editor-sprite-frames-zoom-hidpi
Scale zoom values in the SpriteFrames editor for hiDPI displays
2021-03-13 21:49:43 +01:00
Rémi Verschelde 99a707406b
Merge pull request #46967 from jmb462/fix-always-capitalized-subinspector-properties
Fix always capitalized properties in subinspector (Fix #46961)
2021-03-13 21:47:11 +01:00
jmb462 31077d875e Fix hardcoded Maya style navigation pan key modifier
ALT key modifier was hardcoded is node_3d_editor_plugin.cpp and didn't take editor settings into account.

Fix #46973
2021-03-13 20:45:14 +01:00
Michael Alexsander efa3927b49 Fix EditorInspector not updating its theme on rare occasions 2021-03-13 15:08:16 -03:00