Commit graph

32439 commits

Author SHA1 Message Date
Rémi Verschelde b72ad9d97b
Merge pull request #45012 from akien-mga/zstd-1.4.8
zstd: Update to upstream version 1.4.8
2021-01-08 11:57:20 +01:00
Rémi Verschelde 1b86dbac05
Merge pull request #45011 from akien-mga/doctest-2.4.4
doctest: Update to 2.4.4
2021-01-08 11:57:07 +01:00
Rémi Verschelde 7917cb12df
doctest: Update to 2.4.4
Make ClassDB test macros enforce their msg to be constructed as String,
since doctest 2.4.2 changes the message passing to vararg.
2021-01-08 11:37:36 +01:00
Rémi Verschelde 3645c9c80c
zstd: Update to upstream version 1.4.8 2021-01-08 11:21:43 +01:00
Rémi Verschelde 0abbefd94a
Merge pull request #45008 from akien-mga/rtl-fix-build-35505
RichTextLabel: Fix build after #35505
2021-01-08 10:12:44 +01:00
Rémi Verschelde 50f7314329
RichTextLabel: Fix build after #35505
Should have rebased before merging.
2021-01-08 09:18:19 +01:00
Rémi Verschelde 9349a5507f
Merge pull request #35505 from dalexeev/rtl_colors
Unified named colors in RichTextLabel
2021-01-08 09:03:55 +01:00
Rémi Verschelde 830e6296b7
Merge pull request #41395 from AberrantWolf/tooltips_appear_on_same_screen
Make tooltips appear on the same screen as the editor
2021-01-08 08:52:43 +01:00
Rémi Verschelde 4524bf279b
Merge pull request #45006 from pihdastudios/master
make EditorSceneImporterGLTF and GLTFMesh APIType::API_EDITOR
2021-01-08 08:10:28 +01:00
Rémi Verschelde 3d359d1311
Merge pull request #44283 from jeffuntildeath/fix-stf-offset
Fixed incorrect offset of snap to floor
2021-01-08 07:53:45 +01:00
NutmegStudio fba23f5475 make EditorSceneImporterGLTF and GLTFMesh APIType::API_EDITOR 2021-01-08 12:01:53 +07:00
Rémi Verschelde 8ba67b728e
Merge pull request #44995 from Calinou/html5-editor-improve-link-color-visibility
Make links on the HTML5 editor more readable
2021-01-07 19:14:02 +01:00
Hugo Locurcio 663466b882
Make links on the HTML5 editor more readable
This also tweaks the focus style to apply to all elements for
better keyboard navigation.
2021-01-07 18:46:26 +01:00
Rémi Verschelde f1832a6027
Merge pull request #42574 from madmiraal/fix-one-way-collisions
Fix multiple issues with one-way collisions
2021-01-07 17:51:30 +01:00
Rémi Verschelde efdca23f87
Merge pull request #44918 from Chaosus/vs_assign_default_value
Auto-assign default value for variable in visual script on type changing
2021-01-07 16:51:01 +01:00
Rémi Verschelde c7b45141de
Merge pull request #44980 from RandomShaper/fix_res_lifetime
Fix cases of resources destroyed too early
2021-01-07 14:19:52 +01:00
Rémi Verschelde cf4c58838f
Merge pull request #44986 from aaronfranke/audiostream
Descriptive error message when using AudioStream(OGG/MP3) incorrectly
2021-01-07 11:42:40 +01:00
Rémi Verschelde 55e876777c
Merge pull request #44832 from nathansmith339/opensimplex-optimization
OpenSimplex data optimization
2021-01-07 10:51:30 +01:00
Rémi Verschelde 2e1abfb90f
Merge pull request #44983 from KoBeWi/only_the_names
Clarify class_get_method_list() in release exports
2021-01-07 10:37:07 +01:00
Rémi Verschelde 6583ac32ce
Revert "Fixed EditorPropertyText change signal emission."
This reverts commit ed1f208ec4.

This caused a regression: #44854.

Another PR will re-apply these changes while handling the regression: #44982.

Fixes #44854.
2021-01-07 10:32:03 +01:00
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
Hugo Locurcio 682640083e
Remove the editor quit confirmation
The editor will still ask for confirmation if the user is working
on unsaved scenes.
2021-01-06 19:43:08 +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