Commit Graph

46463 Commits

Author SHA1 Message Date
Rémi Verschelde 0e82b26a60 Merge pull request #47797 from kleonc/capsulemesh_docs_fix
Fix docs description for CapsuleMesh::mid_height
2021-04-14 08:26:09 +02:00
Rémi Verschelde 5535cf5c22 Merge pull request #47689 from nekomatata/textedit-fix-cursor-update
Fix TextEdit cursor update when adding or deleting text
2021-04-14 08:25:34 +02:00
Rémi Verschelde fe73fed4d7 Merge pull request #47625 from SushiJackal/47450_fix
Fix: Selection Only in Find/Replace now preserves selection
2021-04-14 08:24:38 +02:00
Rémi Verschelde fbcba00ca1 Merge pull request #47881 from bruvzg/macos_vlk_icd
[macOS] Update required Vulkan API version the ICD configs.
2021-04-14 08:13:33 +02:00
bruvzg f4026ba404 [macOS] Update required Vulkan API version the ICD configs. 2021-04-14 08:35:44 +03:00
thebestnom e598acff3a Allow to build dev template with symbols 2021-04-14 00:14:57 +03:00
K. S. Ernest (iFire) Lee 3cae9a802b Export gltf2 normal textures correctly. 2021-04-13 13:28:26 -07:00
Rémi Verschelde a86e7c3bb7 Merge pull request #47852 from akien-mga/etcpak-mingw-llvm-pthread
etcpak: Fix handling of pthread naming API for Linux and MinGW
2021-04-13 21:20:10 +02:00
Rémi Verschelde d137ccbfc8 etcpak: Fix handling of pthread naming API for Linux and MinGW
For MinGW this is tricky to do as a two-step process like it was implemented,
as `std::thread::native_handle()` is implementation-defined and depending on
the MinGW distribution, it may or may not be a pthread handle.

With mingw-gcc as packaged in Linux distros with pthread support it worked
fine, but with llvm-mingw it was problematic.

Setting the name in the thread directly as done for Apple platforms is simpler
and works fine.

Co-authored-by: Hein-Pieter van Braam-Stewart <hp@tmm.cx>
2021-04-13 21:04:09 +02:00
ray90514 16decbc0ee Fix multi-selection doesn't correctly show in the inspector 2021-04-13 18:09:53 +08:00
Rémi Verschelde b4b7c97d38 Merge pull request #47853 from naithar/fix/xcframework-time-4.0
[iOS] Fix for plugin modified time check
2021-04-13 11:48:25 +02:00
Sergey Minakov 15630a4931 [iOS] Fix for plugin modified time check 2021-04-13 11:57:42 +03:00
Rémi Verschelde b4060614c2 Merge pull request #47848 from nekomatata/debug-shape-crash-fix
Fix crashes with CollisionObject3D debug shapes
2021-04-13 10:13:07 +02:00
Rémi Verschelde 3838036a88 Merge pull request #47845 from nekomatata/fix-soft-body-contact-impulses 2021-04-13 10:10:53 +02:00
Rémi Verschelde a9c29fdc1f Merge pull request #47844 from m4gr3d/update_activity_result_callback
Add support for forwarding callbacks from Godot's parent activity
2021-04-13 10:10:29 +02:00
Rémi Verschelde f41c348d6a Merge pull request #47842 from m4gr3d/fix_boot_splash_scale_master
Fix custom boot splash image scaling.
2021-04-13 09:57:36 +02:00
PouleyKetchoupp d7353c5d41 Fix crashes with CollisionObject debug shapes
MeshInstance added as child nodes for CollisionObject debug shapes can
be invalidated while deleting the collision object (child nodes are
deleted first), which caused accesses to invalid memory in
shape_owner_remove_shape that lead to random crashes.

Also optimized accesses to shapes to avoid copy-on-write on each
iteration.
2021-04-12 20:08:30 -07:00
PouleyKetchoupp b65d6b56fb Godot Physics solver optimization
Several optimizations in the way solver islands are processed in both
2D and 3D physics:
- Use LocalVector instead of linked list to avoid cache misses (with
persistent storage based on worst case scenario)
- Remove pairs when setup fails (no valid contact) to avoid unnecessary
solving of non-colliding rigid bodies just to return immediately
2021-04-12 18:59:49 -07:00
PouleyKetchoupp 70aa39d127 Fix SoftBody contact impulses applied on rigid bodies
Parameters were inverted in `apply_impulse` and `apply_bias_impulse` due
to a modification on master.
2021-04-12 17:38:14 -07:00
Fredia Huya-Kouadio 1f16ba2696 Add support for forwarding callbacks from Godot's parent activity. 2021-04-12 16:48:35 -07:00
Fredia Huya-Kouadio b51dc2dc44 Fix custom boot splash image scaling. 2021-04-12 16:38:41 -07:00
Rémi Verschelde 8793a464d3 Merge pull request #47370 from fire/etcpak
Add thirdparty library etcpak for faster imports.
2021-04-13 01:09:38 +02:00
Rémi Verschelde 075f358fcd Merge pull request #47841 from Blackiris/fix-PackedFloat32Array-index
Fix PackedFloat32Array get index not working
2021-04-13 00:21:41 +02:00
K. S. Ernest (iFire) Lee d840165a32 Add etcpak library for faster ETC/ETC2/S3TC imports.
- `etc` module was renamed to `etcpak` and modified to use the new library.
- PKM importer is removed in the process, it's obsolete.
- Old library `etc2comp` is removed.
- S3TC compression no longer done via `squish` (but decompression still is).
- Slight modifications to etcpak sources for MinGW compatibility,
  to fix LLVM `-Wc++11-narrowing` errors, and to allow using vendored or
  system libpng.

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2021-04-13 00:12:12 +02:00
Julien Nguyen 026b8497d1 Fix PackedFloat32Array get index not working 2021-04-12 23:33:06 +02:00
Rémi Verschelde 7d70cdc6cc Merge pull request #47840 from Calinou/doc-project-settings-override-feature-tags
Document overriding project settings that have feature tags
2021-04-12 22:08:38 +02:00
Hugo Locurcio 554742312d Document overriding project settings that have feature tags
This non-obvious behavior can take a while to discover and fix,
so it's important to mention it in the class reference.
2021-04-12 21:51:08 +02:00
Rémi Verschelde b895071895 Merge pull request #47664 from goostengine/makerst-prop-overridden-object
makerst: Fix generation of overridden properties in child classes
2021-04-12 21:10:31 +02:00
Fabio Alessandrelli 4d5c8e0b18 This renames PacketPeerUDP.listen to bind. 2021-04-12 21:05:33 +02:00
dam da8c2310b5 Allow local port control on net_socket connections 2021-04-12 21:05:33 +02:00
Szymon Majewski 0a29322991 Validation layers on Android 2021-04-12 10:09:06 -07:00
Rémi Verschelde 5c8505c25a Merge pull request #47831 from Calinou/editor-remote-scene-tree-tooltip 2021-04-12 18:01:13 +02:00
Hugo Locurcio 6d2f5ee244 Add a tooltip to document performance issues of the Remote scene tree 2021-04-12 17:49:51 +02:00
Yuri Roubinsky 8d3e46098b Prevents default values of VSNodeCustom from overriding by a script 2021-04-12 14:41:08 +03:00
Rémi Verschelde cee5414698 Merge pull request #43180 from nathanfranke/node-configuration-array
Use Array for node configuration warnings
2021-04-12 09:40:55 +02:00
Rémi Verschelde 184abce192 Merge pull request #47709 from KoBeWi/node_that_changes_everything
Expose edit_node() for editor plugins
2021-04-12 09:11:33 +02:00
Nathan Franke 2a8c59c171 Use Array for node configuration warnings
Previously, the warnings were passed as a string and delimitation of which were hard coded at each implementation.
2021-04-11 23:25:38 -05:00
Rémi Verschelde 4a1f2dcb74 Merge pull request #47531 from fire/update-skeleton-display
Update Skeleton3D inspector Bone Transforms
2021-04-12 00:19:23 +02:00
kobewi 72014a7a2e Expose edit_node() for editor plugins 2021-04-12 00:13:08 +02:00
Rémi Verschelde d90e6cc4da Merge pull request #47811 from HaSa1002/fix-get-buffer
Fix `_File::get_buffer` length always set to p_length
2021-04-12 00:04:02 +02:00
Hugo Locurcio 6f6a09cce2 Decrease the editor FPS limit when unfocused from 20 to 10
This provides better power savings compared to the previous value.
This also speeds up project execution slightly while the editor
is running in the background.

The setting hint can now go as low as 1 FPS (1 million microseconds
per frame), for those who really need the best possible power savings.
This will make previewing animated shaders or particles impossible
when the editor window isn't focused though.
2021-04-12 00:02:33 +02:00
Johannes 33d6eccdec Fix _File::get_buffer length always set to p_length 2021-04-11 23:11:13 +02:00
Rémi Verschelde 712bb8cbb6 Merge pull request #47175 from YeldhamDev/help_search_early_match
Select non-perfect matches if necessary in the Search Help dialog
2021-04-11 22:27:29 +02:00
Julien Nguyen 9936abb3d5 Fix type argument in is_builtin which was treated as an address 2021-04-11 20:34:48 +02:00
kleonc dd3cc9b817 Fix docs description for CapsuleMesh::mid_height 2021-04-11 18:19:12 +02:00
ray90514 1f9524bf57 Fix Constants at function scope are not defined as constants for autocompletion 2021-04-11 22:41:04 +08:00
Hugo Locurcio f10c30a9ed Add a "save on focus loss" editor setting (disabled by default)
This performs a Ctrl + S action every time the editor window loses focus,
saving both scenes and scripts as needed.
2021-04-11 15:40:38 +02:00
Yuri Roubinsky 9a5cce35e6 Fix doc theme not changing when its hidding 2021-04-11 13:29:35 +03:00
Rémi Verschelde 43f89e7c2c Merge pull request #47774 from DanielKriz/bugfix/CommandQueue
Fix includes in test_command_queue.h
2021-04-11 10:29:31 +02:00
Rémi Verschelde 4cc211a830 Merge pull request #47787 from timothyqiu/csg-selection
Fix 3D selection box size for Node3D
2021-04-11 09:54:53 +02:00