Age | Commit message (Collapse) | Author |
|
Godot uses Variant parameters for calls to script methods.
Up until now we were boxing such parameters when marshalling
them for invokation, even if they were value types.
Now Godot allocates the marshalled parameters on the stack,
reducing the GC allocations resulted from boxing.
|
|
Fix VariantInternal initialization and setting of object
|
|
Implement proper error print, Fixes a crash when no error messages are generated by the analyser.
|
|
Changes 'always show grid' hotkey to prevent conflict with 'pan mode'
|
|
- Initialize Object pointer to nullptr so it's not used by mistake.
- When setting an Object check if it's a reference so refcounting works
as intended.
|
|
Reversed Toggle Script Button icon
|
|
|
|
[HTML5] HiDPI, emscripten fixes
|
|
GDScript: Don't construct ref values in compiler
|
|
Values that are passed by reference are not suited for being constructed
at compile time because in this case they would be shared across all the
construction statements.
|
|
This was caused by the devicePixelRatio being applied twice, once by the
HTML code, once by the OS code.
More specifically, OS.get_window_size() would return the canvas element
size, while OS.set_window_size() would set the element size to the
specified value times the devicePixelRatio.
Calling OS.set_window_size(OS.get_window_size()) would reapply the
devicePixelRatio every time.
This commit changes the behaviour so that OS.set_window_size() do not
apply the devicePixelRatio to the canvas element size, by it divides the
CSS size instead.
|
|
Flags where deprecated and partly in removed in emscripten 2.0.9.
|
|
|
|
Fixed crash in canvas_item_add_polyline if color arr has incorrect size
|
|
Fix TabContainer crashes
|
|
fix #43695 on master by revert part of #41576
|
|
Reduced EditorTheme margin on PopupMenu
|
|
Show editable children in the connect dialog
|
|
|
|
Note that #42109 already reverted the change of MenuButton,
and actually fixed #43695.
As a result, this commit only reverts the change to LinkButton,
in order to prevent unpredictable consequences.
|
|
|
|
|
|
|
|
Exposed shortcut_context property to scripting and added documentation.
|
|
I didn't expose this as a property or add documentation in the original PR #42109.
|
|
Fixed several visual shader inputs
|
|
Fixed several inputs in visual shaders
|
|
Better error handling of vkEnumerateInstanceExtensionProperties
|
|
Environment brightness, contrast, saturation restore with 3d LUT.
|
|
Fixed invalid visual shader outputs (TRANSMISSION, ALPHA_SCISSOR)
|
|
|
|
Allow gradients and 2d images.
Use shader versions for LUT in tonemap
Co-authored-by: alex-poe <3957610+CptPotato@users.noreply.github.com>
Co-authored-by: QbieShay <cislaghi.ilaria@gmail.com>
Co-authored-by: Clay John <claynjohn@gmail.com>
|
|
generated by the analyser.
|
|
Refer: https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkEnumerateInstanceExtensionProperties.html
According to the documentation, there are 2 success code:
1. VK_SUCCESS
2. VK_INCOMPLETE
VK_INCOMPLETE will be returned when not all avaiable properties are returned.
|
|
Fix crash when printing leaked nodes
|
|
Improve the `ProjectSettings.globalize_path()` documentation
|
|
Remove RigidBody weight property
|
|
Restored antialiased lines by emulation using triangle strips
|
|
Add sky_only setting to DirectionalLight3Ds
|
|
Shortcuts rework - fixed issues with input propagation and triggering of unwanted shortcuts.
|
|
[Complex Text Layouts] Implement TextServer interface.
|
|
Fix SGN macro
|
|
Mention lack of optional setter arguments in `ClassDB::add.property()`
|
|
Implement INCR mechanism for Linux clipboard
|
|
Prevent ALSA audio corruption
|
|
|
|
When using the ALSA driver, corruption would occur if `snd_pcm_writei`
was unable to consume the entire sound buffer. This would occur
frequently on the Raspberry Pi 3 which uses the `snd_bcm2835` audio
driver.
This bug resulted from incorrect pointer math on line 187, resulting in
the sample source pointer being advanced by `total * ad->channels` bytes
instead of `total * ad->channels` samples. In my opinion, the best fix
is to change `*src` to type `int16_t`, since that is the sample type in
use.
Fixes #43927.
|
|
This version behaves the way the documentation states: 0 values will resolve to 0 instead of +1
|
|
|
|
|