Marcel Admiraal
7653b8cc1e
Fix multiple issues with one-way collisions
...
For RigidBodies, uses the collision normal determined by relative motion
to determine whether or not a one-way collision has occurred.
For KinematicBodies, performs additional checks to ensure a one-way
collision has occurred, and averages the recovery step over all collision
shapes.
Co-authored-by: Sergej Gureev <sergej.gureev@relex.fi>
2021-01-07 09:22:39 +00:00
AberrantWolf
cff0352b3d
Make tooltips appear on the same display as the editor
...
The `current_screen` field was never being set on tooptip windows, leading to scenarios where, if the editor wasn't on screen 0, tooltips may not appear in the right place, especially when your screens have different resolutions.
2021-01-07 12:16:55 +03:00
Aaron Franke
193564d83e
Descriptive error message when using AudioStream(OGG/MP3) incorrectly
2021-01-07 03:24:30 -05:00
nevarek
041fe20f64
Optimize data format for OpenSimplex images
...
The previous RGBA format included unused RGB data. Using the LA8 format
removes the need to store the extra data.
The Docs have been updated to reflect the format changes.
2021-01-06 19:01:21 -08:00
kobewi
84acafb2ce
Clarify class_get_method_list() in release exports
2021-01-07 01:23:25 +01:00
Pedro J. Estébanez
6fbe0a494b
Fix cases of resources destroyed too early
2021-01-06 23:40:50 +01:00
Rémi Verschelde
8158d17edf
Merge pull request #44971 from nekomatata/fix-string-property-update
...
Update String property field only when text has changed
2021-01-06 19:55:38 +01:00
PouleyKetchoupp
c064378f95
Update String property field only when text has changed
...
Avoids resetting the cursor position when the inspector updates while
editing a string property.
Fixes #42488
2021-01-06 11:35:05 -07:00
Rémi Verschelde
a7baf01352
Merge pull request #44950 from reduz/shader-debugger
...
Added ability to visualize native shaders
2021-01-06 16:28:45 +01:00
Rémi Verschelde
a3b76e26f3
doc: Sync classref with current source
2021-01-06 15:23:58 +01:00
Rémi Verschelde
5e1ef41472
Merge pull request #44963 from Chaosus/remove_semicolon
...
Removes semicolon typo in display_server_windows
2021-01-06 14:17:50 +01:00
reduz
cdb216f4e4
Added ability to visualize native shaders
2021-01-06 09:40:09 -03:00
Yuri Roubinsky
785f84f1d1
Removes semicolon typo in display_server_windows
2021-01-06 15:08:51 +03:00
Yuri Roubinsky
43fa911f2b
Merge pull request #44948 from Chaosus/fix_popup_menus
...
Fix PopupMenu's which are not closed after a recent commit
2021-01-06 14:58:15 +03:00
Yuri Roubinsky
d4939aa05f
Fix PopupMenu's which are not closed after a recent commit
2021-01-06 14:42:15 +03:00
Rémi Verschelde
89a83a8af2
Merge pull request #44952 from EricEzaM/PR/update-run-scene-save-dialog
...
Made save dialog open immediately when running unsaved scene.
2021-01-06 10:09:15 +01:00
Rémi Verschelde
598b52c1ba
Merge pull request #44802 from dakennedyd/script-editor-fix
...
Makes script editor not draw non existent spaces.
2021-01-06 09:46:55 +01:00
Rémi Verschelde
c197a565f2
Merge pull request #44900 from RevoluPowered/fbx-add-blender-support
...
Preliminary Blender FBX support [4.0]
2021-01-06 09:43:08 +01:00
Eric M
a54110ba60
Made save dialog open immediately when running unsaved scene.
...
Previously there was an unneeded confirmation dialog.
2021-01-06 12:29:52 +10:00
David Kennedy
715cf48f81
Makes script editor not draw non existent spaces.
...
Fixes #44775 Editor is incorrectly drawing non existent space.
2021-01-05 20:20:41 -03:00
Gordon MacPherson
74a72cf85e
Preliminary Blender FBX support [4.0]
...
limitations:
- always has to use generated normal's.
- some animations won't be compatible (yet)
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2021-01-05 21:58:58 +00:00
Rémi Verschelde
cdfcf68af9
Merge pull request #44925 from LoipesMas/str-docs
...
More explicit wording for str() function
2021-01-05 20:47:56 +01:00
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