Commit Graph

31754 Commits

Author SHA1 Message Date
Marcel Admiraal e887ebf817 Ignore hint entries in game controller mapping 2020-12-03 09:06:40 +00:00
Gustav dff3875ae3 Add bracket or space to some keyword completions 2020-12-03 09:44:42 +01:00
Rémi Verschelde dab7cc0ae7
Merge pull request #44059 from EricEzaM/PR/show-shortcuts-in-file-system-popup
Made keyboard shortcuts for FileSystemDock visible in popup
2020-12-03 09:40:08 +01:00
bruvzg 3c3590522f
[Complex Text Layouts] Add compatibility for legacy Font resources. 2020-12-03 10:34:03 +02:00
Eric M ef5c720b73 Made keyboard shortcuts for FileSystemDock visible in popup 2020-12-03 18:10:35 +10:00
Rémi Verschelde a5fa9199ef
Merge pull request #44051 from EricEzaM/PR/rename-files-with-F2-key
Added F2 shortcuts for renaming files & folders.
2020-12-03 08:23:25 +01:00
Eric M 5a3952fe64 Added F2 shortcuts for renaming files & folders. 2020-12-03 08:15:33 +10:00
Rémi Verschelde 2a0de6d88c
Merge pull request #44044 from Wavesonics/xatlas-options-master
xatlas should be using the options configured here
2020-12-02 20:53:54 +01:00
Rémi Verschelde b36ff888a0
Merge pull request #44025 from reduz/refactor-mesh
Refactored Mesh internals and formats.
2020-12-02 20:42:20 +01:00
Adam Brown 9367b1d6c1 xatlas should be using the options configured here
It was using the defaults by mistake
2020-12-02 09:22:35 -08:00
reduz 70f5972905 Refactored Mesh internals and formats.
-Changed how mesh data is organized, hoping to make it more efficient on Vulkan and GLES.
-Removed compression, it now always uses the most efficient format.
-Added support for custom arrays (up to 8 custom formats)
-Added support for 8 weights in skeleton data.
-Added a simple optional versioning system for imported assets, to reimport if binary is newer
-Fixes #43979 (I needed to test)

WARNING:

-NOT backwards compatible with previous 4.x-devel, will most likely never be, but it will force reimport scenes due to version change.
-NOT backwards compatible with 3.x scenes, this will be eventually re-added.
-Skeletons not working any longer, will fix in next PR.
2020-12-02 13:07:59 -03:00
Rafał Mikrut e1811b689b Initialize class/struct variables with default values in platform/ and editor/ 2020-12-02 16:09:11 +01:00
Rémi Verschelde 3beab2646f
Merge pull request #44038 from akien-mga/fix-44030
X11: Include limits.h for LONG_MAX
2020-12-02 16:00:20 +01:00
Rémi Verschelde f1a9de9c59
X11: Include limits.h for LONG_MAX
Fixes #44030.
2020-12-02 15:43:29 +01:00
Rémi Verschelde d1231be1c8
Merge pull request #41095 from ThakeeNathees/GDScript-Documentation
GDScript(2.0) Documentation generation system
2020-12-02 14:15:38 +01:00
George Marques 0019aa940e
Merge pull request #41773 from ThakeeNathees/default-argument-override-buf-fix
GDScript default argument override bug fix
2020-12-02 09:54:47 -03:00
Rémi Verschelde fbbbd9f601
Merge pull request #39743 from aaronfranke/limit-zoom
Limit the editor zoom and freelook speed based on camera settings
2020-12-02 13:35:51 +01:00
Rémi Verschelde f34f1c1bb3
Merge pull request #44036 from Chaosus/vs_fix_expression
Fixed some errors when changing port name in visual shader expressions
2020-12-02 13:23:54 +01:00
Yuri Roubinsky dd32d7b7ee Fixed some errors when changing port name in visual shader expressions 2020-12-02 13:27:37 +03:00
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
Aaron Franke 896a297c1f
Limit the zoom and freelook speed based on camera settings 2020-12-01 16:14:24 -05:00
Thakee Nathees 42bfa16996 Refactor DocData into core and editor (DocTools) parts 2020-12-02 00:48:39 +05:30
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
Danil Alexeev bf96056ad0 Several edits to the GDScript docs 2020-12-01 16:05:10 +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
volzhs d89677442b Update page value properly of ScrollContainer 2020-12-01 11:52:37 +09: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