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
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
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
Thakee Nathees
d0e7d9b62f
Documentation generation for GDScript
...
- ClassDoc added to GDScript and property reflection data were extracted
from parse tree
- GDScript comments are collected from tokenizer for documentation and
applied to the ClassDoc by the GDScript compiler
- private docs were excluded (name with underscore prefix and doesn't
have any doc comments)
- default values (of non exported vars), arguments are extraced from the
parser
- Integrated with GDScript 2.0 and new enums were added.
- merge conflicts fixed
2020-11-29 19:45:36 +05:30
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