Commit graph

33689 commits

Author SHA1 Message Date
Rémi Verschelde 07f076fa4f
Merge pull request #47194 from W4RH4WK/fbx-normalize-rotations
FBX Import: Normalize rotation quaternions
2021-03-21 08:48:53 +01:00
Rémi Verschelde 48ee9cd690
Merge pull request #47123 from Calinou/tweak-3d-editor-grid-default-min-division
Tweak the 3D editor grid default to not go below subdivisions of 1 meter
2021-03-21 01:19:23 +01:00
Rémi Verschelde 1e6ef9ae6e
Merge pull request #47206 from nathanfranke/add-root-null-check
[4.0] Add Root Null Check
2021-03-21 01:18:43 +01:00
Nathan Franke 3c921ba801
Add Root Null Check 2021-03-20 18:48:41 -05:00
Hugo Locurcio 3472c3f6ea
Tweak the 3D editor grid default to not go below subdivisions of 1 meter
Small subdivisions aren't useful that often and make it difficult for
people to get a sense of scale in 3D.
2021-03-21 00:41:12 +01:00
Rémi Verschelde 7e86b4c0e4
Merge pull request #46280 from floppyhammer/AdjustCompletionPanelPosition
Improve Completion Panel Position in Shader Editor
2021-03-21 00:17:35 +01:00
Rémi Verschelde 28ff1e2d96
Merge pull request #46938 from dreamsComeTrue/pick-track-improv
Make Animation's SceneTreeDialog filter nodes properly
2021-03-21 00:16:52 +01:00
Rémi Verschelde 17f77a74e1
Merge pull request #46758 from W4RH4WK/add-more-index-checks-collada-importer
Add additional index checks to COLLADA importer
2021-03-21 00:15:07 +01:00
Rémi Verschelde 6d13bfc914
Merge pull request #47191 from Faless/js/4.x_force_mime
[HTML5] Fix loading when mime-type is missing.
2021-03-20 23:09:45 +01:00
Rémi Verschelde 9febc206fe
Merge pull request #46740 from KoBeWi/🎵🎵🎵
Fix audio player not resetting after wav finishes
2021-03-20 22:47:19 +01:00
Rémi Verschelde fcddd8c53a
Merge pull request #46966 from qarmin/faster_release
Allow to not optimize release build
2021-03-20 22:44:47 +01:00
Rémi Verschelde 992de9c053
Merge pull request #46917 from nekomatata/solver-kinematic-bug-fix
Fix GodotPhysics solver with kinematic body set to report contacts
2021-03-20 21:53:01 +01:00
Rémi Verschelde 900b28f6d8
Merge pull request #47130 from e344fde6bf/fix-angular-velocity-calculation
Fix kinematic angular velocity calculations
2021-03-20 21:46:02 +01:00
Rémi Verschelde fa681d04b7
Merge pull request #46937 from nekomatata/soft-body-support
SoftBody support in GodotPhysics 3D
2021-03-20 21:45:20 +01:00
Rémi Verschelde 793000c6a9
Merge pull request #47139 from nekomatata/concave-backface-collision
Disable backface collision with ConcavePolygonShape by default
2021-03-20 21:43:57 +01:00
Rémi Verschelde e48f0ee497
Merge pull request #47195 from W4RH4WK/fbx-check-bone-map-access
FBX Import: Check bone map access for valid cluster target node id
2021-03-20 21:41:19 +01:00
kobewi daa62ccaa3 Fix audio player not resetting after wav finishes 2021-03-20 20:16:53 +01:00
Rémi Verschelde 6608d99291
Merge pull request #47001 from madmiraal/rename-sprite_2d-region_enabled
Rename Sprite.region_enabled getter and setter methods to match properties
2021-03-20 18:36:17 +01:00
Alex Hirsch d03f4cefea FBX Import: Check bone map access for valid cluster target node id
fix #47184
2021-03-20 18:07:51 +01:00
Rémi Verschelde c655ed7926
Merge pull request #47193 from jmb462/prevent-resizing-minimap-bigger-than-GraphEdit
Prevent resizing minimap bigger than GraphEdit (Fix #47189)
2021-03-20 17:51:50 +01:00
Rémi Verschelde 08a0a935da
Merge pull request #47186 from timothyqiu/project-icon-size
Fix project icon size in Project Manager
2021-03-20 17:48:52 +01:00
Rémi Verschelde 91b51a2d32
Merge pull request #47192 from Faless/js/4.x_editor_version
[HTML5] Fix editor version numbering.
2021-03-20 17:46:57 +01:00
Alex Hirsch 72d3bfc88c FBX Import: Normalize rotation quaternions
fix #47174
2021-03-20 17:46:25 +01:00
jmb462 045f55ec00 Prevent resizing minimap bigger than GraphEdit (Fix #47189)
Minimap size couldn't be resized back after been resized bigger than GraphEdit cause the grabber was out of GraphEdit.
This commit prevents resizing minimap bigger than GraphEdit and fix this issue.
2021-03-20 15:09:50 +01:00
Fabio Alessandrelli 60f2166c27 [HTML5] Fix editor version numbering.
Should not write patch version when it's `0`.
2021-03-20 14:35:28 +01:00
Fabio Alessandrelli 778ef4e217 [HTML5] Fix loading when mime-type is missing.
`WebAssembly.instantiateStreaming` requires the mime-type to be
`application/wasm`, but some servers (including most debug servers) do
not provide the content-type header.

This commit forces it via JavaScript, by creating a `Response` object
with the `wasm` content, and explicitly defined `content-type` header.
2021-03-20 13:41:44 +01:00
Haoyu Qiu 30842b2efe Fix project icon size in Project Manager 2021-03-20 17:32:38 +08:00
Rémi Verschelde 62e134a0c0
Merge pull request #46818 from BastiaanOlij/fix_android_vulkan
Working on fixes for Android and Vulkan
2021-03-20 00:05:00 +01:00
Dominik 'dreamsComeTrue' Jasiński 08a45ebfba Make Animation's SceneTreeDialog filter nodes properly 2021-03-19 22:30:32 +01:00
e344fde6bf 1c123aaf2b Fix some angular velocity calculations
The angular velocity estimate for kinematic bodies was calculated
incorrectly.  Also, fixes its use in some kinematic/rigid collision
calculations.

This fixes #47029.
2021-03-20 07:21:37 +10:00
Rémi Verschelde ec3f220098
Merge pull request #47140 from paulloz/class-reference
class reference proofreading
2021-03-19 13:43:53 +01:00
Rémi Verschelde 655247f28d
Merge pull request #47162 from AndyBarcia/FixTileMapEditorPaste
Fixes TileMap editor copy bug.
2021-03-19 13:28:35 +01:00
Paul Joannon 8455e901f3
class reference proofreading 2021-03-19 13:21:20 +01:00
andybarcia 558b08e6d9 Fixes TileMap editor copy bug. 2021-03-19 12:09:28 +01:00
Rémi Verschelde 3b380f4cdc
Merge pull request #47156 from LightningAA/graph-edit-scroll-zoom-4.0
Enable zooming in graph_edit with Ctrl + scrollwheel
2021-03-19 09:19:41 +01:00
Rémi Verschelde f5008843fd
Merge pull request #47155 from W4RH4WK/gdscript-fix-quote-in-multiline-string
Fix missing quote in multiline GDScript string
2021-03-19 09:01:54 +01:00
Rémi Verschelde 67dc067970
Merge pull request #47151 from nekomatata/soft-body-attachment-error
Fix spamming errors when SoftBody pinned nodes have no attachment
2021-03-19 08:38:27 +01:00
Lightning_A d752482e7a Enable zooming graph_edit with scrollwheel 2021-03-18 18:34:29 -06:00
Alex Hirsch d7ac5ba1c6 Fix missing quote in multiline GDScript string
fix #47117
2021-03-19 01:24:18 +01:00
PouleyKetchoupp 195eda244f Fix spamming errors when SoftBody pinned nodes have no attachment
There was a specific case where the node path wasn't checked for
validity before trying to access the attachment node.

It could cause lots of error log noise in both editor and game.
2021-03-18 16:26:42 -07:00
Rémi Verschelde 47cf9985eb
Merge pull request #47128 from ArdaE/master
GLTF importer: Prevent quick accumulation of significant numerical errors in keyframe times
2021-03-19 00:14:51 +01:00
ArdaE 6770a9413b GLTF import: Prevent significant numerical errors in keyframe times
Keyframe times shift slowly in imported animations, starting with a zero shift
at the beginning and increasing and becoming erratic slowly farther into an
animation, reaching significant levels at times after about 3 minutes into an
animation. This commit fixes the issue by increasing the precision of the
floating point numbers used for keyframe time calculations. Only the most
significant cases that cause fast accumulation of errors over a short animation
duration are fixed. Other cases that would have a marginal benefit from
switching to double precision numbers are left for another PR/further analysis.
Note that this change has no impact on the runtime performance of games/apps
created using Godot. It only affects the GLTF importer.

Fixes #47127.
2021-03-18 15:55:31 -07:00
Rémi Verschelde 217d9d1b30
Merge pull request #47147 from TwistedTwigleg/skeletonik_changes_and_bug_fixes_regressionfix
Fix for regression in SkeletonIK code
2021-03-18 23:45:37 +01:00
TwistedTwigleg c15e23396d Fix for regression in SkeletonIK code 2021-03-18 17:52:59 -04:00
Rémi Verschelde d0f0fdb6ad
Merge pull request #47141 from bruvzg/mac_export_force_sign
Add "Replace existing signature" to the macOS export (enabled by default).
2021-03-18 22:23:20 +01:00
bruvzg 9e18fce943
Add "Replace existing signature" to the macOS export (enabled by default). 2021-03-18 23:00:05 +02:00
Rémi Verschelde 8a7e503337
Merge pull request #47115 from jcsho/fix-tree-null-stylebox
Check for null pointer in get_column_width(0)
2021-03-18 20:34:08 +01:00
PouleyKetchoupp 7bbd545432 Disable backface collision with ConcavePolygonShape by default
Helps a lot with soft bodies and generally useful to avoid shapes to go
through the ground in certain cases.

Added an option in ConcavePolygonShape to re-enable backface collision
on specific bodies if needed.
2021-03-18 11:30:22 -07:00
Justin Ho fa6fd3a2d0
Check for null pointer in get_column_width(0) 2021-03-18 10:25:55 -07:00
Rémi Verschelde 2274d4eebc
Mono: Fix Android build after #46900 2021-03-18 17:58:21 +01:00