Commit Graph

31575 Commits

Author SHA1 Message Date
Rémi Verschelde
de5a956ea1
Merge pull request #44035 from bruvzg/macos_dot_project
Fix .pck lookup for extensionless binary in macOS resources.
2020-12-02 11:09:16 +01:00
Rémi Verschelde
f9b08bef72
Merge pull request #44023 from Wavesonics/glb-import-crash-master
Update xatlas to upstream 5571fc7, fixes #44017
2020-12-02 10:23:29 +01:00
bruvzg
7be8759991
Fix .pck lookup for extensionless binary in macOS resources. 2020-12-02 11:04:44 +02:00
Adam Brown
23c754360a xatlas: Sync with upstream 5571fc7
Fixes #44017 by changing the `normalize()` function to check for non-negative rather than non-zero via an epsilon check.
2020-12-02 00:17:45 -08:00
Rémi Verschelde
ba51af7904
Merge pull request #44009 from Chaosus/vs_fix_expression_bugs
Fix few bugs in visual shader expressions
2020-12-01 20:10:57 +01:00
Rémi Verschelde
ca56d90722
Merge pull request #44012 from Calinou/doc-curve3d-units
Fix incorrect `Curve3D.interpolate_baked()` description
2020-12-01 20:08:46 +01:00
Hugo Locurcio
5a9600cd24
Fix incorrect Curve3D.interpolate_baked() description
The offset is in 3D units, not pixels.

This closes https://github.com/godotengine/godot-docs/issues/4339.
2020-12-01 16:23:34 +01:00
Yuri Roubinsky
b74f1abd25 Fix few bugs in visual shader expressions
Fixed few bugs in visual shader expressions
2020-12-01 16:55:52 +03:00
Yuri Roubinsky
339b64697c
Merge pull request #44001 from Chaosus/vs_fix_preview_crash
Fixed crash in visual shader on changing input when preview is visible
2020-12-01 13:15:31 +03:00
Yuri Roubinsky
a9e5701e2a Fixed crash in visual shader on changing input when preview is visible 2020-12-01 12:11:44 +03:00
Rémi Verschelde
04bef80b42
Merge pull request #43992 from vnen/variant-internal-object-set
Fix VariantInternal initialization and setting of object
2020-11-30 20:22:15 +01:00
Rémi Verschelde
8f3dde18f1
Merge pull request #43504 from AndreaCatania/gds_fix_2
Implement proper error print, Fixes a crash when no error messages are generated by the analyser.
2020-11-30 19:10:38 +01:00
Rémi Verschelde
c653e9c470
Merge pull request #42825 from Chaosus/fix_grid_hotkey
Changes 'always show grid' hotkey to prevent conflict with 'pan mode'
2020-11-30 19:09:13 +01:00
George Marques
029fd88adb
Fix VariantInternal initialization and setting of object
- 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.
2020-11-30 14:49:52 -03:00
Yuri Roubinsky
193cc9a157
Merge pull request #43988 from Chaosus/fix_toggle_script_panel_button
Reversed Toggle Script Button icon
2020-11-30 17:51:24 +03:00
Yuri Roubinsky
d936201a05 Reversed Toggle Script Button icon 2020-11-30 17:33:42 +03:00
Rémi Verschelde
84dbd3be63
Merge pull request #43985 from Faless/js/4.0_em_fixes
[HTML5] HiDPI, emscripten fixes
2020-11-30 14:45:41 +01:00
Rémi Verschelde
27f1c67155
Merge pull request #43987 from vnen/gdscript-dont-share-references
GDScript: Don't construct ref values in compiler
2020-11-30 14:34:56 +01:00
George Marques
a604e72dc9
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.
2020-11-30 09:42:22 -03:00
Fabio Alessandrelli
178546ac3e [HTML5] Fix broken layout on load in HiDPI screens
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.
2020-11-30 12:07:20 +01:00
Fabio Alessandrelli
742729ccfe [HTML5] Remove file flags from writeFile in setup.
Flags where deprecated and partly in removed in emscripten 2.0.9.
2020-11-30 12:07:20 +01:00
Fabio Alessandrelli
e2a0c44d06 Sync RasterizerDummy changes. 2020-11-30 12:07:20 +01:00
Rémi Verschelde
b9a2787bd1
Merge pull request #43963 from Chaosus/fix_polyline_crash
Fixed crash in canvas_item_add_polyline if color arr has incorrect size
2020-11-30 10:19:37 +01:00
Rémi Verschelde
72366c1858
Merge pull request #43971 from volzhs/fix-tab-container
Fix TabContainer crashes
2020-11-30 09:41:30 +01:00
Rémi Verschelde
2c6e6e930e
Merge pull request #43977 from FIF15/restore-default-focus-mode-on-master
fix #43695 on master by revert part of #41576
2020-11-30 09:39:27 +01:00
Rémi Verschelde
78d9aa99ca
Merge pull request #43970 from EricEzaM/PR/popup-menu-margin-shrink
Reduced EditorTheme margin on PopupMenu
2020-11-30 09:25:48 +01:00
Rémi Verschelde
375cfa0d50
Merge pull request #43968 from KoBeWi/nokia_connecting_nodes_xdxd
Show editable children in the connect dialog
2020-11-30 09:23:09 +01:00
Yuri Roubinsky
d980278d81 Fixed crash in canvas_item_add_polyline if color arr has incorrect size 2020-11-30 11:05:55 +03:00
FIF15
96fb9eeca4 fix #43695 by revert part of #41576
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.
2020-11-30 12:28:45 +08:00
volzhs
f1eab4afbd Fix TabContainer crashes 2020-11-30 11:05:59 +09:00
Eric M
231231f904 Reduced margin on PopupMenu 2020-11-30 10:18:16 +10:00
Tomasz Chabora
c93a3bdaef Show editable children in the connect dialog 2020-11-30 00:37:32 +01:00
Rémi Verschelde
0167bfa530
Merge pull request #43958 from EricEzaM/PR/basebutton-add-property-and-doco
Exposed shortcut_context property to scripting and added documentation.
2020-11-29 16:35:15 +01:00
Eric M
12ded391f5 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.
2020-11-30 00:11:40 +10:00
Rémi Verschelde
79d569edd4
Merge pull request #43955 from Chaosus/vs_inputs
Fixed several visual shader inputs
2020-11-29 14:56:56 +01:00
Yuri Roubinsky
82d64ebd19 Fixed several visual shader inputs
Fixed several inputs in visual shaders
2020-11-29 16:10:05 +03:00
Rémi Verschelde
d1943f6a77
Merge pull request #38939 from hbina/vk_error_handling
Better error handling of vkEnumerateInstanceExtensionProperties
2020-11-29 13:03:01 +01:00
Rémi Verschelde
ef2d1f6d19
Merge pull request #42761 from fire/color-grading-3d
Environment brightness, contrast, saturation restore with 3d LUT.
2020-11-28 23:07:52 +01:00
Rémi Verschelde
75e45e4978
Merge pull request #43938 from Chaosus/vs_fix_renames
Fixed invalid visual shader outputs (TRANSMISSION, ALPHA_SCISSOR)
2020-11-28 23:05:43 +01:00
Yuri Roubinsky
07e752585c Fixed invalid visual shader outputs (TRANSMISSION, ALPHA_SCISSOR) 2020-11-28 20:42:59 +03:00
clayjohn
076908bed9 Environment brightness, contrast, saturation restore with color correction.
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>
2020-11-28 07:37:49 -08:00
AndreaCatania
40403b02fb Implement proper error print, Fixes a crash when no error messages are generated by the analyser. 2020-11-28 13:47:52 +01:00
Hanif Bin Ariffin
cc2097c79c Better error handling of vkEnumerateInstanceExtensionProperties
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.
2020-11-28 19:28:23 +08:00
Rémi Verschelde
3b4fad435c
Merge pull request #43061 from qarmin/crash_when_prining_nodes
Fix crash when printing leaked nodes
2020-11-28 10:37:12 +01:00
Rémi Verschelde
53b23c6bdc
Merge pull request #43922 from Calinou/doc-projectsettings-globalize-path
Improve the `ProjectSettings.globalize_path()` documentation
2020-11-28 10:29:23 +01:00
Rémi Verschelde
95572211bb
Merge pull request #43925 from madmiraal/fix-16039a
Remove RigidBody weight property
2020-11-28 09:37:42 +01:00
Yuri Roubinsky
4a3588a51a
Merge pull request #43828 from Chaosus/restore_line_antialiasing
Restored antialiased lines by emulation using triangle strips
2020-11-28 11:32:16 +03:00
Rémi Verschelde
94341ac547
Merge pull request #42987 from clayjohn/VULKAN-sky-only
Add sky_only setting to DirectionalLight3Ds
2020-11-28 09:07:09 +01:00
Rémi Verschelde
a09846e015
Merge pull request #42109 from EricEzaM/PR/input-and-shortcuts-rework
Shortcuts rework - fixed issues with input propagation and triggering of unwanted shortcuts.
2020-11-28 09:04:25 +01:00
Rémi Verschelde
a6751e6c58
Merge pull request #41100 from bruvzg/ctl_text_server_interface
[Complex Text Layouts] Implement TextServer interface.
2020-11-28 09:03:15 +01:00