Commit Graph

32555 Commits

Author SHA1 Message Date
Rémi Verschelde 7f98e663d1
Merge pull request #44939 from akien-mga/gltf-external-images
glTF: Fix loading external images as buffer
2021-01-05 20:45:27 +01:00
LoipesMas 9c65927aeb More explicit wording for str() and print() functions 2021-01-05 20:00:26 +01:00
Rémi Verschelde a390e1e8a2
Merge pull request #44944 from Calinou/doc-delta-unit-seconds
Mention that the `delta` argument is in seconds in Node documentation
2021-01-05 19:44:46 +01:00
Juan Linietsky c7c03d5fba
Merge pull request #44941 from reduz/new-light-attenuation
Change the light attenuation formulas.
2021-01-05 15:18:22 -03:00
Hugo Locurcio fcb6ecaf21
Mention that the `delta` argument is in seconds in Node documentation 2021-01-05 19:14:37 +01:00
reduz 446618cf94 Change the light attenuation formulas.
-Much better looking, physically based.
-Almost negligible extra cost.
2021-01-05 14:44:05 -03:00
Rémi Verschelde e268a8e523
glTF: Fix loading external images as buffer
We should first attempt loading as external files, thus creating a dependency.
Loading as a buffer should only be used as fallback to support manually loading
as PNG or JPEG depending on the defined mimeType.

Fixes #44309, was a regression from #42504.
2021-01-05 16:26:48 +01:00
Rémi Verschelde 6e23ab4fa2
Merge pull request #44936 from akien-mga/toolstrip
Tooltips: Fix unassigned strip_edges() call on text
2021-01-05 16:09:38 +01:00
Rémi Verschelde 8fd3545753
Merge pull request #44904 from maiself/fix-plane-xform_inv
Fix xform_inv of Plane, intermediate results were ignored
2021-01-05 15:15:17 +01:00
Rémi Verschelde a4af94068a
Tooltips: Fix unassigned strip_edges() call on text
Fixes #43940, was a regression from #43280.
2021-01-05 15:14:27 +01:00
Juan Linietsky d8a0dc9fcc
Merge pull request #44838 from reduz/renderer-reorganization
Reorganize renderer code + cache and threading optimizations.
2021-01-05 11:07:56 -03:00
Rémi Verschelde 118e4d3cf7
Merge pull request #44935 from godotengine/revert-37769-master
Revert "solved ctrl + alt + special character Issue #6851"
2021-01-05 14:59:57 +01:00
Rémi Verschelde c44a14496a
Merge pull request #44934 from KoBeWi/p-p-push_the_item
Properly edit the instanced node in the inspector
2021-01-05 14:59:00 +01:00
Rémi Verschelde 8b7f582f22
Revert "solved ctrl + alt + special character Issue #6851" 2021-01-05 14:41:35 +01:00
kobewi f5d51288b8 Properly edit the instanced node in the inspector 2021-01-05 14:14:45 +01:00
Rémi Verschelde 0abd7e7b35
Merge pull request #44892 from KoBeWi/gentle_drag
Commit CanvasItem state only if it changed
2021-01-05 14:12:59 +01:00
Rémi Verschelde 47353fb42e
Merge pull request #44895 from KoBeWi/the_color_DID_NOT_change
Don't emit changed signal on Color Picker close
2021-01-05 13:45:04 +01:00
Rémi Verschelde eea3287c2d
Merge pull request #44661 from AndreaCatania/AndreaCatania-patch-5
Fixes: GDscript min and max are inverted
2021-01-05 13:42:08 +01:00
Rémi Verschelde 20b3ed07b9
Merge pull request #44929 from mrushyendra/astar_doc_fix
Explain use of weight_scale and distance in AStar pathfinding cost calcuation
2021-01-05 13:38:25 +01:00
kobewi 036f6a3fa8 Commit CanvasItem state only if it changed 2021-01-05 13:06:15 +01:00
Maganty Rushyendra f6634648ce Explain A Star pathfinding algorithm cost calcuation 2021-01-05 19:51:38 +08:00
reduz 77bc3e9ac3 Threaded optimizations to cull and render
-Reorganize thread work pool for rendering
-Fixes to make secondary command buffers to work (disabled because they need more testing)
2021-01-05 08:50:18 -03:00
reduz 5d2a1d7892 Rewrite render code to be more cache and thread friendly. 2021-01-05 08:50:18 -03:00
reduz 9a2f18f8e7 Reorganize renderer code.
So it can hopefully be made more cache efficient afterwards.
2021-01-05 08:50:18 -03:00
Rémi Verschelde 8a1c37dc22
Merge pull request #44893 from Chaosus/shader_reference
[4.0] Fix shader editor documentation link
2021-01-05 12:01:20 +01:00
Yuri Roubinsky 88924bbbc6 Fix shader editor documentation link 2021-01-05 13:46:33 +03:00
Rémi Verschelde f4d8733777
Merge pull request #44890 from KiritoAM/my-bug-fix
Fix for reselecting a TileMap node without first de-selecting it #44824
2021-01-05 10:48:41 +01:00
Rémi Verschelde 43a2955e23
Merge pull request #44926 from zerc/fix-string-humanize-size-test
Changed type to make it work on x32 architecture.
2021-01-05 10:30:16 +01:00
Rémi Verschelde 9cb78a6770
Merge pull request #44909 from dalexeev/editor-log-newline
Fix odd newline in `EditorLog::add_message()`
2021-01-05 10:27:11 +01:00
Rémi Verschelde 0eb1123cf9
Merge pull request #44928 from mrushyendra/raise_doc_fix
[Doc] Specify order of drawing of Nodes in raise() description
2021-01-05 10:24:43 +01:00
Rémi Verschelde 9d6df31b84
Merge pull request #44299 from Chaosus/fix_win32_warning
Fixed warning at window closing (WIN32)
2021-01-05 09:00:47 +01:00
Maganty Rushyendra a67ef5999d Specify order of drawing of Nodes in raise() description 2021-01-05 15:17:10 +08:00
zero13cool 9f3d7d9709 Changed type to make it work on x32 architecture. 2021-01-05 01:44:52 +00:00
Rémi Verschelde c13bb0b541
Merge pull request #44154 from dsnopek/webxr-master
Add WebXR support (for Godot 4.0)
2021-01-05 00:19:50 +01:00
David Snopek a54a2d65e1 Add support for WebXR 2021-01-04 17:02:37 -06:00
Rémi Verschelde 569dd6f11a
Merge pull request #44921 from jdbener/remove_double_list
Remove Unnecessary Double List
2021-01-04 23:05:43 +01:00
Rémi Verschelde 00f5ea2ed2
Merge pull request #44842 from clayjohn/VULKAN-SSAO-2
SSAO renames and move push constant binding
2021-01-04 23:03:54 +01:00
Joshua Dahl 453ef0ba89 Remove Unnecessary Double List
_OS::print_resources_by_type had two of the exact same list, one of which was never used.
2021-01-04 12:24:18 -08:00
Rémi Verschelde 0b49e5de12
Merge pull request #44914 from swarnimarun/master-visualscript-refactor
Fix doc for the VisualScript class after #39649 PR
2021-01-04 21:19:00 +01:00
Swarnim Arun 35b8fc2d85 Fix doc for the VisualScript class. 2021-01-05 00:15:53 +05:30
Yuri Roubinsky 8d240f467d Auto-assign default value for variable in visual script on type changing 2021-01-04 21:10:04 +03:00
Rémi Verschelde add3a825f0
Merge pull request #39649 from swarnimarun/master-visualscript-refactor
Visual Script Refactor
2021-01-04 15:02:23 +01:00
Rémi Verschelde 51e5e200e2
Merge pull request #44911 from akien-mga/doc-sync
doc: Sync classref with current source
2021-01-04 15:01:47 +01:00
Rémi Verschelde 8cfec72084
Merge pull request #44910 from Geometror/fix-normal-map
fix inconsistent normal map shader variable naming which stopped normal maps from working
2021-01-04 14:48:01 +01:00
Rémi Verschelde 321a4d5e79
Merge pull request #44906 from EricEzaM/PR/popup-menu-fix-not-matching-button-size
Fixed PopupMenu not matching parent MenuButton/OptionButton width
2021-01-04 14:47:32 +01:00
Rémi Verschelde 215d18814e
doc: Sync classref with current source 2021-01-04 14:33:44 +01:00
Hendrik Brucker ec6fc059b7 fix inconsistent normal map shader variable naming 2021-01-04 14:08:01 +01:00
Danil Alexeev a8dce9c377 Fix odd newline in `EditorLog::add_message()` 2021-01-04 15:46:30 +03:00
Rémi Verschelde 8bfd96ee3f
Merge pull request #44905 from EricEzaM/PR/popup-menu-item-highlight-fix
Fixed hover highlight style rect of items being cut off.
2021-01-04 13:30:37 +01:00
Rémi Verschelde c5ff2cb3d9
Merge pull request #44907 from qarmin/fix_leak_gradient
Fix memory leak with Gradient in Node3DEditorViewport
2021-01-04 10:26:47 +01:00