Commit Graph

34512 Commits

Author SHA1 Message Date
Rémi Verschelde b283447bfd
Merge pull request #47348 from nekomatata/raycast-3d-collide-fix
Fix RayCast3D color in game with no collision
2021-05-12 22:13:08 +02:00
Rémi Verschelde 0c693f8781
Merge pull request #48472 from BastiaanOlij/render_state
Make better use of our render_state struct
2021-05-12 13:44:03 +02:00
Rémi Verschelde c37fc12615
Merge pull request #48665 from pycbouh/editor-capture-easing-drag
Fix `EditorPropertyEasing` capturing drag events originated outside of it
2021-05-12 12:44:47 +02:00
Yuri Sizov 31db95b048 Fix EditorPropertyEasing capturing drag events originated outside of it 2021-05-12 12:39:43 +03:00
Rémi Verschelde de3747fc37
Merge pull request #48655 from pycbouh/editor-more-theme-outlines
Add outlines and contrasting backgrounds to the editor UI elements
2021-05-12 01:05:34 +02:00
Yuri Sizov 3a66c22e71 Add outlines and contrasting backgrounds to the editor UI elements 2021-05-12 01:45:56 +03:00
Rémi Verschelde 0f334e60f2
Merge pull request #48646 from akien-mga/gdnative-signal-callable-32bit
GDNative: Fix size mismatch on 32-bit platforms for Signal and Callable
2021-05-11 21:51:35 +02:00
Rémi Verschelde ed11756d26
GDNative: Fix size mismatch on 32-bit platforms for Signal and Callable
Fixes #48645.
2021-05-11 20:25:01 +02:00
Rémi Verschelde 048abb50aa
Merge pull request #48617 from reduz/gpu-particles-2d
Fixes multiple missing 2D engine bits
2021-05-11 17:38:51 +02:00
reduz 479391ef54 Fixes missng 2D engine bits
-Mesh2D now works
-MultiMesh2D now works
-Polygon2D now works
-Added hooks for processing 2D particles
-Skeleton2D now works

2D particles still not working, but stuff needed for it is now implemented.
2021-05-11 11:21:36 -03:00
Rémi Verschelde a1cc6b45dc
Merge pull request #48638 from akien-mga/fix-uwp-threads-build
SCons: Fix UWP build after #45315
2021-05-11 15:23:04 +02:00
Rémi Verschelde 9fdcab77ff
Merge pull request #48637 from akien-mga/embree-raycaster-check-sse2 2021-05-11 15:12:21 +02:00
Rémi Verschelde ba095ae567
SCons: Fix UWP build after #45315
(cherry picked from commit d1f023c35b)
2021-05-11 14:14:48 +02:00
JFonS 1cab622e94
Add checks for __SSE2__ in the lightmap raycaster
(cherry picked from commit 20717990fd)
2021-05-11 14:09:44 +02:00
Rémi Verschelde 31a9afb135
SCons: Disable embree-based modules on x86 (32-bit)
Fixes #48482.

(cherry picked from commit e53422c8f9)
2021-05-11 14:09:44 +02:00
Rémi Verschelde 5f33951009
Merge pull request #48629 from nekomatata/dynamic-bvh-broadphase-4.0
Dynamic BVH broadphase in 2D & 3D Godot Physics
2021-05-11 13:22:50 +02:00
PouleyKetchoupp 3877ed73d0 Dynamic BVH broadphase in 2D & 3D Godot Physics
Port lawnjelly's dynamic BVH implementation from 3.x to be used in
both 2D and 3D broadphases.

Removed alternative broadphase implementations which are not meant to be
used anymore since they are much slower.

Includes changes in Rect2, Vector2, Vector3 that help with the template
implementation of the dynamic BVH by uniformizing the interface between
2D and 3D math.

Co-authored-by: lawnjelly <lawnjelly@gmail.com>
2021-05-10 16:28:55 -07:00
Rémi Verschelde 063ccaa868
Merge pull request #48626 from YeldhamDev/tilemap_capitalization_fix 2021-05-10 23:40:22 +02:00
Michael Alexsander 6dad72db69 Fix small issues with capitalization in the new TileMap editor 2021-05-10 18:08:07 -03:00
Rémi Verschelde 347737907d
Merge pull request #48618 from Calinou/colorpicker-click-old-color-to-revert
Implement reverting to the old color when clicking it in ColorPicker
2021-05-10 21:38:31 +02:00
Hugo Locurcio 1e063595c3
Implement reverting to the old color when clicking it in ColorPicker 2021-05-10 18:13:33 +02:00
Rémi Verschelde 24a783afe3
Merge pull request #48610 from Calinou/clang-format-fix-ubuntu-version-detection
Fix Ubuntu clang-format version detection in the pre-commit hook
2021-05-10 17:43:35 +02:00
Hugo Locurcio 61aa09097f
Fix Ubuntu clang-format version detection in the pre-commit hook 2021-05-10 17:05:46 +02:00
Bastiaan Olij 308b26762b Split RenderDataRD struct from RenderState struct to simplify passing our render data around the renderer. 2021-05-10 21:52:15 +10:00
Rémi Verschelde 6e3f47983c
Merge pull request #48558 from mortarroad/master-fix-misaligned-bmp
fix misaligned loads in bmp loader
2021-05-09 20:50:37 +02:00
Rémi Verschelde 87f8feb3e5
Merge pull request #48591 from trollodel/collisionobject3d-fix-disconnect
Use the correct method in shape_owner_remove_shape
2021-05-09 19:34:56 +02:00
trollodel a24c46e7a0 Use the correct method in shape_owner_remove_shape 2021-05-09 18:58:19 +02:00
Rémi Verschelde aac01456d1
Merge pull request #48175 from trollodel/collisionobject3d-no-mi
Create CollisionObject3D debug shapes using RS
2021-05-09 16:41:53 +02:00
Rémi Verschelde 3e71009d74
Merge pull request #48534 from Calinou/editor-theme-allow-negative-contrast
Allow negative contrast values in the editor theme settings
2021-05-09 16:37:20 +02:00
Rémi Verschelde 726715b1e1
Merge pull request #48579 from Calinou/tree-fix-bg-focus-section-overlap
Fix Tree's background focus outline displaying behind section headings
2021-05-09 14:40:50 +02:00
Rémi Verschelde 009674e5d5
Merge pull request #48583 from Calinou/doc-os-get-unique-id-caveats
Document caveats of `OS.get_unique_id()`
2021-05-09 14:28:19 +02:00
Rémi Verschelde a8a51cd75c
Merge pull request #46808 from pycbouh/theme-editor-better-create-ui
Refactor Create Theme menu in Theme Editor
2021-05-09 14:21:37 +02:00
Rémi Verschelde 8fa82c7226
Merge pull request #48582 from Calinou/editor-resource-preview-fix-focus-outline
Fix EditorPropertyResource focus outline being drawn behind the preview
2021-05-09 14:20:01 +02:00
Rémi Verschelde 73e5f6f673
Merge pull request #48539 from KoBeWi/cant_edit_this
Display arrow cursor if text is not editable
2021-05-09 14:18:56 +02:00
Rémi Verschelde c6c0479aed
Merge pull request #44359 from Riteo/logo-outline
Add an outlined version of logo.png and icon.png and put it in README.md
2021-05-09 14:01:05 +02:00
Rémi Verschelde a4e8da8d0b
Merge pull request #41416 from TokageItLab/fix_animation_tree_cache
fix unintentional object rotation by anim tree
2021-05-09 13:57:18 +02:00
Rémi Verschelde 5d116b5d73
Merge pull request #48574 from Calinou/editor-add-new-scene-shortcuts
Add shortcuts for New Scene and New Inherited Scene actions
2021-05-09 13:53:52 +02:00
Rémi Verschelde e9e601d18e
Merge pull request #48578 from Calinou/editor-no-scene-ctrl-s-saves-script
Save the current script when pressing Ctrl + S if no scene is open
2021-05-09 13:53:11 +02:00
Hugo Locurcio 63897f16b1
Fix Tree's background focus outline displaying behind section headings 2021-05-09 13:27:20 +02:00
Hugo Locurcio 7350f90c57
Document caveats of `OS.get_unique_id()` 2021-05-09 13:23:53 +02:00
Hugo Locurcio 0b47f1be8c
Fix EditorPropertyResource focus outline being drawn behind the preview 2021-05-09 13:11:16 +02:00
Hugo Locurcio 39f9b92f54
Save the current script when pressing Ctrl + S if no scene is open
- Tweak the dialog messages to be more informative.
  - The "Saved N modified resources" dialog is not a warning per se,
    so make it more explicit.
2021-05-09 12:29:50 +02:00
Hugo Locurcio 44b22540e1
Add shortcuts for New Scene and New Inherited Scene actions
These default to Ctrl + N and Ctrl + Shift + N respectively.
2021-05-09 11:30:36 +02:00
Yuri Sizov 912420b078 Refactor Create Theme menu in Theme Editor 2021-05-09 03:13:19 +03:00
Rémi Verschelde 7050e4d307
Merge pull request #48166 from TwistedTwigleg/skeletonik_changes_and_bug_fixes_regressionfix3
Fixed issue in SkeletonIK leading to some root bones being twisted incorrectly
2021-05-08 23:06:52 +02:00
Rémi Verschelde 60ed7d0839
Merge pull request #48562 from Calinou/displayserver-linux-remove-debug-prints
Remove debugging prints in the Linux DisplayServer
2021-05-08 22:46:40 +02:00
TwistedTwigleg 446460eaf9 Fixes the SkeletonIK twisting issue by using the skeleton global pose without overrides 2021-05-08 16:11:45 -04:00
Hugo Locurcio 064ca9adae
Remove debugging prints in the Linux DisplayServer
Some Vulkan debugging prints were also changed to be printed only
in verbose mode.
2021-05-08 19:07:50 +02:00
Morris Tabor 89a8bbda0a fix misaligned loads in bmp loader 2021-05-08 17:07:44 +02:00
Fabio Alessandrelli 871d067aa9
Merge pull request #48543 from Faless/js/4.x_target_fps_fix
[HTML5] Fix target_fps when window loses focus.
2021-05-08 11:02:50 +02:00