Commit graph

40090 commits

Author SHA1 Message Date
Max Hilbrunner d58dfd4a7c
Merge pull request #56184 from skyace65/ObjectNotificationsLink
Add a link to the notifications tutorial page in the object class reference
2022-01-02 03:14:51 +01:00
Christoph Nelles 185724e5e9 Tree: Fix de-select when selection mode set to SELECT_ROW
It no longer de-selects an already selected row if the SELECT_MODE is
set to SELECT_ROW.

Update scene/gui/tree.cpp

Co-authored-by: Michael Alexsander <michaelalexsander@protonmail.com>
2022-01-02 00:36:30 +00:00
NNesh 0af3d6b990 Fixed a invalidation of sets and out of range in the _horizontal_alignment function
Fixed start index (to the second half element)

Fixed out of range when size is equal 1
2022-01-02 00:21:36 +05:00
Max Hilbrunner bc2445d0eb
Merge pull request #56261 from skyace65/OSDebug
State that get static memory usage only works in debug
2021-12-31 17:59:37 +01:00
Max Hilbrunner 54132ba788
Merge pull request #56334 from skyace65/ConvexWarning
Add warning to only use convex hull points when setting the point property of convex polygon 2D
2021-12-31 17:50:10 +01:00
RedMser 0e36d5e782 Fix glTF scene export crash on null normal texture
Also removes a redundant get_texture call directly below
the modified code block.

Fixes #56379
2021-12-31 17:45:03 +01:00
Hugo Locurcio 55d60bbf47
Document the expected format of anisotropy flowmaps in BaseMaterial3D 2021-12-31 17:26:24 +01:00
Cnidarias 51106a481c Fix OGG Vorbis playback with more than one channel
When an OGG Vorbis file has more than one channel we accidentily were
assigning only the left channel to both the L and R channels of the
AudioFrame output buffer
2021-12-31 15:31:57 +01:00
Yuri Roubinsky ab239e9abb Fix incorrect updating global uniform buffer 2021-12-31 13:31:01 +03:00
David Cambré 6a2a9d2267 Include base signals to VisualScriptEmitSignal 2021-12-30 20:08:54 +01:00
Yuri Sizov f1bc5c976a Fix an incorrect exposed property type in Tree 2021-12-30 20:04:14 +03:00
SaracenOne 45b8bb745e Clean preview_node of all none VisualInstances 2021-12-30 14:07:56 +00:00
Michael Alexsander 3764dce409 Add undo/redo capabilities to the theme editor 2021-12-30 00:30:50 -03:00
skyace65 6b18614de7 Add warning to only use convex hull points when setting the point property for convex polygon shape 2021-12-29 21:16:56 -05:00
Clay John 91b97dac03
Merge pull request #56214 from timothyqiu/alpha-channel
Alpha channel indicates opacity, not transparency
2021-12-29 17:55:01 -07:00
Cnidarias 69a532414c Fix http limitation for large "content-length"
When a request was issued to a server that returned "content-length" header
whose value was greater than that of an "int" we ran into overflow
problems. The fix for this was rather simple by increasing the data
type to `int64_t`
2021-12-30 01:16:19 +01:00
Yuri Sizov fad3138af7 Make the theme editor correctly stop updating after it was hidden 2021-12-29 23:40:01 +03:00
Yuri Roubinsky 9f058674ac
Merge pull request #56292 from skyace65/CullMode 2021-12-29 10:13:45 +03:00
Ignacio Roldán Etcheverry be665ddff9
Merge pull request #56299 from raulsntos/fix-37812
Fix getting properties state when reloading C#
2021-12-29 00:14:23 +01:00
Hugo Locurcio df09bc38cb
Rename Lod Threshold to Mesh Lod Threshold
This makes it more obvious that the setting only affects mesh LOD,
not manual (H)LOD achieved using visibility ranges.
2021-12-29 00:11:50 +01:00
Raul Santos 5254b28632
Fix getting properties state when reloading C#
When reloading C# classes and keep their properties values they are
retrieved and stored in a state list.
Retrieving the properties was only getting the fields of the C# class
and not inherited fields so those properties values were lost on reload.
Now we also try to find the field in the parent classes.
2021-12-28 18:28:01 +01:00
Yuri Roubinsky 0f83d7272c Fix cursor stucking in resize shape 2021-12-28 13:35:07 +03:00
skyace65 155aaffa21 Fix "flip faces" description 2021-12-27 21:29:18 -05:00
nikitalita f34ea3873e FIX GLTF Document mesh primitive conversions 2021-12-27 17:36:58 -08:00
Hugo Locurcio eb6ba0e1c6
Document new behavior of shader DEPTH_TEXTURE in the Vulkan renderer 2021-12-27 21:34:24 +01:00
GanidhuAbey 133486bfba fixed depth of field bug with msaa 2021-12-26 23:13:47 -08:00
skyace65 32b4edbe4e State that get static memory usage only works in debug 2021-12-26 15:19:14 -05:00
Yuri Roubinsky 8367cb9fef Fix size of the default property popup after opening a Color property 2021-12-26 22:10:33 +03:00
PucklaMotzer09 be2d59fa0a Unfocus Control on NOTIFICATION_EXIT_TREE 2021-12-26 17:53:07 +01:00
kobewi cff0a1a896 Make Import Dock more obvious to use
Co-authored-by: Jairo Honorio <registrofx@gmail.com>
2021-12-25 16:31:36 +01:00
kobewi f97ab4a0e4 Fix get_v_scroll() desctiption in ItemList 2021-12-24 21:10:34 +01:00
William Deurwaarder 68a5dad226 GPULightmapper: react on sky ambient properties
The panorama texture creation, used by GPULightmapper, has been adjusted to
also take the sky ambient properties into account.
2021-12-24 15:47:42 +01:00
Rémi Verschelde 28174d531b
Merge pull request #56210 from 1ace/vk-engine-version
drivers/vulkan: limit pEngineName to only the engine name, without its version
2021-12-24 11:29:06 +01:00
Haoyu Qiu 3ec5a5fb5c Alpha channel indicates opacity, not transparency 2021-12-24 16:52:15 +08:00
laws65 c559bef1c7 Prevent crashes on exported project relating to Skin resource 2021-12-24 17:32:51 +10:30
Eric Engestrom 83333f7e15 drivers/vulkan: limit pEngineName to only the engine name, without its version
It's supposed to be something stable that can be used to identify the engine
(using an equality check), so having the version number in there defeats
the purpose.

While at it, there is no need to prefix it with a second `"GodotEngine"`, nor
to copy the static C string into a C++ string to then extract a C string
from it :)
2021-12-24 01:24:22 +00:00
William Deurwaarder 246fbd5442 GPULightmapper: cube to panorama copy function flip y based on flag
Cube to panorama copy function unconditionally flipped y, while other copy functions flipped y base on FLAG_FLIP_Y. Condition is added.
2021-12-24 00:47:42 +01:00
kobewi a7a41a3431 Fix TabContainer not setting layout immediately 2021-12-23 23:47:27 +01:00
Rémi Verschelde 9d02cfa6b4
Merge pull request #56202 from 1ace/vk-engine-version
drivers/vulkan: set the engineVersion to Godot's version
2021-12-23 21:39:14 +01:00
Eric Engestrom 961bf6e30f drivers/vulkan: set the engineVersion to Godot's version 2021-12-23 18:10:22 +00:00
Yuri Roubinsky 108b6a2000 Allow pass varyings as out param to the function, when it's possible 2021-12-23 18:03:19 +03:00
Kodi 51db86d789 add missing emit_changed() to set update mode function 2021-12-23 07:53:36 -05:00
Ignacio Roldán Etcheverry 54d89f2274
Merge pull request #56183 from raulsntos/fix-56180
Fix `KeyValuePairAt` memory leak
2021-12-23 13:36:04 +01:00
Yuri Roubinsky 8e5008dfbd Fix default texture of unassigned sampler with hint_normal 2021-12-23 11:15:46 +03:00
skyace65 f10cc3d7f6 Add a link to the notifications tutorial page in the object class reference 2021-12-22 21:37:54 -05:00
Raul Santos 1fdfc379b6 Fix KeyValuePairAt memory leak 2021-12-23 03:15:57 +01:00
Rémi Verschelde 1906b59675
Merge pull request #55636 from bruvzg/vis_char_modes
Add different "visible characters" behavior modes.
2021-12-23 00:43:33 +01:00
Rémi Verschelde 650b77340d
Merge pull request #56165 from timothyqiu/escape-fix 2021-12-22 18:46:47 +01:00
Haoyu Qiu a07e2b71fc Fix make_rst.py missing escape in front of some links 2021-12-23 00:50:40 +08:00
Rémi Verschelde 0f6a6ca5be
Merge pull request #56131 from Chaosus/shader_refactor_render_modes 2021-12-22 13:29:03 +01:00