Commit Graph

30223 Commits

Author SHA1 Message Date
Leonardo Christino
21eea9cd6c
Make GraphNode handle children with EXPAND flag
(cherry picked from commit 5d574d980d)
2021-06-01 12:52:18 +02:00
Rémi Verschelde
fd4475f652
OS: Better validation of invalid input for get_unix_time_from_datetime
Default missing keys to Unix time 0 (1970-01-01 at 00:00:00 UTC).
Abort if year <= 0, this is not supported by the current algorithm.

Prevents an infinite loop further down.

Fixes #49022.

(cherry picked from commit 62efa30ed2)
2021-06-01 12:52:18 +02:00
PouleyKetchoupp
87ed7d32de
Added flip_h and flip_v properties in TextureButton
(cherry picked from commit 5f1d94bb7d)
2021-06-01 12:52:14 +02:00
Lightning_A
6f58e6ce2c ScrollContainer: Expose _ensure_focused_visible to the API
Was renamed to `ensure_control_visible`
2021-05-31 19:05:30 -10:00
Rémi Verschelde
9b35708a21
Merge pull request #49120 from lyuma/gltf-module-3.x 2021-05-31 23:05:51 +02:00
Lyuma
d699600ec7 gltf: Fix mesh nodes which are also bones.
Fix issue when two skeletons end up directly parented.
Prevent animating TRS for skinned Mesh node.
Fix animating weights on meshes with targets but no weights.
2021-05-31 13:18:10 -07:00
K. S. Ernest (iFire) Lee
6ec9468e75 Backport gltf2 module from master. 2021-05-31 13:18:06 -07:00
Rémi Verschelde
8326b8b31a
Merge pull request #49195 from madmiraal/fix-43544-3.x
[3.x] Fix UV mapping on CSGSphere
2021-05-31 13:06:10 +02:00
Rémi Verschelde
7713f33cd0
Merge pull request #49174 from NoFr1ends/fix-richtext-theme-update-3
[RichTextLabel] Fix not updating fonts when parent theme changes
2021-05-31 12:40:59 +02:00
Rémi Verschelde
d9cfe532b0
Merge pull request #49219 from aaronfranke/3.x-doc-fov
[3.x] Fix Camera FOV documentation
2021-05-31 12:39:46 +02:00
Rémi Verschelde
fb11927901
Merge pull request #49119 from lyuma/gltf_mesh_nodes_bones_3.x 2021-05-31 11:40:06 +02:00
Aaron Franke
753d0fca1d
[3.x] Fix Camera FOV documentation 2021-05-31 05:25:12 -04:00
Rémi Verschelde
b2059caf70
Merge pull request #49160 from lawnjelly/fix_canvas_rect_bound
Fix canvas rect bound calculation
2021-05-31 11:00:27 +02:00
Marcel Admiraal
a2204f3cb3 Fix UV mapping on CSGSphere 2021-05-29 19:13:57 +01:00
Lynx
1b7c2a1428 Fix not updating fonts when parent theme changes
Reparsing the bbcode content when we receieve a theme changed
notification just like we already do in ENTER_TREE.

Resolves #49089
2021-05-28 20:44:00 +02:00
amor
dacc726faf Fixed inspector not updating anchor 2021-05-28 18:20:13 +05:30
Lyuma
a330b6829f gltf: Fix mesh nodes which are also bones for 3.x
Fix issue when two skeletons end up directly parented.
Prevent animating TRS for skinned Mesh node.
Fix animating weights on meshes with targets but no weights.
2021-05-28 03:50:54 -07:00
lawnjelly
6e022a382d Fix canvas rect bound calculation
It turns out the calculation of the bounding rect for canvas items has a nasty bug. When a transform is applied (especially in a custom draw), in the renderer this extra matrix is applied to all later commands in the canvas item. However in the calculation of the bound, the transform is only applied to the first command following the transform.

This PR fixes this inconsistency.
2021-05-28 08:44:59 +01:00
Rémi Verschelde
e9909b763a
Merge pull request #49057 from lawnjelly/bvh_current_tree
BVH - fix stale current_tree in deactivate function
2021-05-26 11:13:34 +02:00
Rémi Verschelde
b41262729b
Merge pull request #49095 from madmiraal/fix-docs-3977-3.x
[3.x] Update EditorResourcePreview queue_*() documentation
2021-05-26 11:01:34 +02:00
Marcel Admiraal
72446bab1b Update EditorResourcePreview queue_*() documentation 2021-05-26 08:39:52 +01:00
Rémi Verschelde
94b5a82e7d
Merge pull request #48943 from Calinou/screen-orientation-remove-ios-duplicate-3.x
Remove duplicate orientation settings in the iOS export preset
2021-05-26 00:24:17 +02:00
Hugo Locurcio
914b5dc525
Remove duplicate orientation settings in the iOS export preset
The screen orientation is now sourced from the Project Settings
like it is done for Android already.
2021-05-25 23:55:37 +02:00
Rémi Verschelde
2555567e7a
Merge pull request #49072 from pfertyk/issue-49006-decompress-crashes-godot
[3.x] Return error when decompressing empty PoolByteArray
2021-05-25 21:18:30 +02:00
Rémi Verschelde
00abdaf333
Merge pull request #49075 from nekomatata/tilemap-collision-debug-fix-3.x
Fix logic for showing tilemap debug collision
2021-05-25 21:12:48 +02:00
PouleyKetchoupp
114da550ec Fix logic for showing tilemap debug collision
In editor: only when show_collision property is enabled
In game: only when 'Visible collision shapes' is enabled
2021-05-25 11:49:47 -07:00
Rémi Verschelde
998b6b1c6d
Merge pull request #49070 from RandomShaper/android_data_backup_3.x
[3.x] Allow basic user data backup on Android
2021-05-25 18:17:15 +02:00
Pedro J. Estébanez
76a4831cd3 Allow basic user data backup on Android 2021-05-25 17:47:19 +02:00
Paweł Fertyk
f563cabb4e Return error when decompressing empty buffer 2021-05-25 17:31:00 +02:00
lawnjelly
0a350845d5 BVH - fix stale current_tree in deactivate function
Changes passing of current_tree from a member variable to a function argument, making bugs due to stale state less likely.

Fix a bug in deactivate where current_tree variable was stale. This may have resulted in visual anomalies.
2021-05-25 10:43:04 +01:00
Rémi Verschelde
bb53fb028c
Merge pull request #47751 from Calinou/highlight-control-flow-keywords-3.x
Highlight control flow keywords with a different color (3.x)
2021-05-25 09:20:46 +02:00
Hugo Locurcio
a38b447413
Highlight control flow keywords with a different color
This makes them easier to distinguish from other keywords.
2021-05-25 00:31:39 +02:00
Rémi Verschelde
130ecf0c9f
Merge pull request #49044 from akien-mga/3.x-linux-embree-unbundling-aarch64
Linux: Fix embree unbundling on aarch64
2021-05-24 22:04:11 +02:00
Rémi Verschelde
752ed768fa
Linux: Fix embree unbundling on aarch64
Embree supports aarch64 since version 3.13.0.
2021-05-24 21:10:43 +02:00
Rémi Verschelde
855406c882
Merge pull request #49031 from TwistedTwigleg/skeletonik_bone_detachment_fix_godot3
[3.x] Fixed issue where bones become detached if multiple SkeletonIK nodes are used
2021-05-24 18:35:22 +02:00
TwistedTwigleg
ec7b72e81d SkeletonIK: Fixed issue where bones become detached if multiple SkeletonIK nodes are used 2021-05-24 11:30:16 -04:00
Rémi Verschelde
65ddfd95ee
Merge pull request #48967 from akien-mga/3.x-embree-3.13.0
[3.x] Upgrade Embree to the latest official release.
2021-05-24 17:03:04 +02:00
Rémi Verschelde
b94b09cd19
Merge pull request #46860 from bruvzg/symlinks_and_macos_gdn_framework_export 2021-05-24 15:15:10 +02:00
Yuri Roubinsky
8d06dd4371
Fix doc theme not changing when its hidding
(cherry picked from commit 9a5cce35e6)
2021-05-24 12:57:05 +02:00
Zae
3756fbd463
Fix duplicate close files when deconstructing ZipArchive
(cherry picked from commit a65dac3fa7)
2021-05-24 12:56:41 +02:00
kobewi
f78c276abe
Reset Shader Editor scroll when changing shader
(cherry picked from commit 0ac5be1e67)
2021-05-24 12:56:23 +02:00
bruvzg
53f05c9167
Add GDNative Framework loading and export support. 2021-05-24 12:50:18 +03:00
Rémi Verschelde
0b136a8066
Merge pull request #49017 from bruvzg/macos_on_top_32
[macOS] Allow "on top" windows to enter full-screen mode.
2021-05-24 11:40:35 +02:00
bruvzg
31be8ae8e9
[macOS] Allow "on top" windows to enter full-screen mode. 2021-05-24 10:47:36 +03:00
Rémi Verschelde
59b6950034
Merge pull request #48993 from kleonc/sprite_frames_editor-zoom-hidpi
[3.x] Scale zoom values in the SpriteFrames editor for hiDPI displays
2021-05-23 17:21:24 +02:00
Rémi Verschelde
714b4dc07b
Merge pull request #48992 from lawnjelly/ewok_fix_joined_item_flags
Batching - fix item_batch_flags stale state
2021-05-23 16:22:06 +02:00
kleonc
9f39f8339c Scale zoom values in the SpriteFrames editor for hiDPI displays 2021-05-23 14:25:57 +02:00
lawnjelly
17a51b3a9e Batching - fix item_batch_flags stale state
Fixes bdata.joined_item_batch_flags not being kept up to date during the rendering pass.
2021-05-23 12:39:15 +01:00
Rémi Verschelde
4100a80502
Merge pull request #43506 from QbieShay/fix-depth-sort
[3.x] VisualServer now sorts based on AABB position
2021-05-23 01:23:46 +02:00
Rémi Verschelde
6f31af4c3c
Merge pull request #48977 from kleonc/sprite_frames-editor-zoom-3.x
[3.x] SpriteFramesEditorPlugin Added zooming
2021-05-22 23:52:09 +02:00