Hugo Locurcio
4ef661c1e8
Add editor icons for VisualScript and VisualShader expression resources
2021-08-18 03:36:04 +02:00
Rémi Verschelde
622ecf4f06
Merge pull request #51776 from timothyqiu/disable-undo-redo-3x
...
[3.x] Improve Undo/Redo menu items
2021-08-17 19:27:53 +02:00
Haoyu Qiu
5f316aa216
Improve Undo/Redo menu items
...
* Make Undo/Redo menu items disabled when clicking it does nothing.
* Context menu of `TextEdit`
* Context menu of `LineEdit`
* Editor's Scene menu
* Script editor's Edit menu and context menu (for Script and Text)
* Make editor undo/redo log messages translatable.
* Mark `UndoRedo`'s `has_{un,re}do()` methods as `const`.
* Expose `TextEdit`'s `has_{un,re}do()` to scripts since `{un,re}do()` are already available.
2021-08-18 00:46:51 +08:00
Rémi Verschelde
c0fc475078
Merge pull request #51521 from lawnjelly/portals_occluders
...
Sphere occluders (portals and general use)
2021-08-17 13:55:34 +02:00
Rémi Verschelde
2ab45474fd
Merge pull request #51783 from m4gr3d/address_external_dir_access
...
Fix possible null pointer exception.
2021-08-17 13:32:33 +02:00
Rémi Verschelde
53cc7a9be9
Merge pull request #51648 from pycbouh/editor-merge-custom-theme-3.x
...
[3.x] Add support for partial custom editor themes
2021-08-17 13:12:49 +02:00
Rémi Verschelde
8073b4f86a
Merge pull request #51646 from pycbouh/editor-dont-use-invalid-styleboxes-3.x
...
[3.x] Make sure stylebox is valid in `EditorSpinSlider` before using it
2021-08-17 13:12:09 +02:00
Rémi Verschelde
97ca300acc
Merge pull request #51745 from ModProg/android-right-click-3.x
...
[3.x] [android] Fixed wrong button mask for right click
2021-08-17 12:50:09 +02:00
Rémi Verschelde
e321b5c12f
Merge pull request #51489 from nekomatata/fix-moving-platform-3d-snap-3.x
...
[3.x] Fix 2D/3D character snap on moving platforms
2021-08-17 11:40:17 +02:00
lawnjelly
115f4dce55
Sphere occluders (portals and general use)
...
Add framework for supporting geometrical occluders within rooms, and add support for sphere occluders.
Includes gizmos for editing.
They also work outside the portal system.
2021-08-17 09:02:06 +01:00
ne0fhyk
e2bcdad43b
Fix possible null pointer exception.
2021-08-16 23:14:10 -07:00
Rémi Verschelde
2bc1d82098
Merge pull request #51782 from clayjohn/GLES3-octahedral-normalize
...
Normalize the results of octahedral decompression
2021-08-17 08:11:27 +02:00
Rémi Verschelde
daa5da0d2a
Merge pull request #51757 from RevoluPowered/fix-sprite3d-using-invalid-normals-tangents
...
Fix octahedral compression with Sprite3D
2021-08-17 07:43:04 +02:00
clayjohn
8ac85e6a9e
Normalize the results of octahedral decompression
2021-08-16 22:17:38 -07:00
Gordon MacPherson
f038c6a926
Fix octahedral compression with Sprite3D
...
Needs a default which is not zero
2021-08-16 22:25:44 +01:00
Rémi Verschelde
4032d26dd5
Merge pull request #51268 from RevoluPowered/fix-nan-data-from-compression
...
Prevent division by zero and warn about invalid normal/tangent information
2021-08-16 22:54:50 +02:00
Gordon MacPherson
6883d55da8
Octahedral compression fix division by zero and warn
...
This was reported by UBSAN.
Many methods were discussed, in the end this has the least evils and will use a 0,0,1 default on decompress.
Please see the PR for more info https://github.com/godotengine/godot/pull/51268
2021-08-16 21:18:57 +01:00
Rémi Verschelde
7a657b9b1c
Merge pull request #51749 from LoipesMas/3.x
...
[3.x] Epsilon check for angular velocity in BodySW
2021-08-16 20:41:43 +02:00
PouleyKetchoupp
be13538b71
Fix 3D character snap on moving platforms
...
Applying the platform velocity when leaving the platform floor should be
done after snapping to keep things consistent.
Now it's done in both 2D and 3D, as it's already done in 2D on master.
2021-08-16 11:30:28 -07:00
Rémi Verschelde
dc1b18e832
Merge pull request #51743 from fabriceci/3x-avoid-useless-snap
...
[3.x] Avoid useless call to move and collide during snapping
2021-08-16 20:19:39 +02:00
LoipesMas
32965aa0ab
Epsilon check for angular velocity in BodySW
2021-08-16 20:11:46 +02:00
Rémi Verschelde
51dd4d0c6c
Merge pull request #49509 from Chaosus/shader_time_3.x
2021-08-16 19:42:55 +02:00
ModProg
1d63a94d19
[android] Fixed wrong button mask for right click
2021-08-16 18:41:20 +02:00
Rémi Verschelde
fb0dcdf808
Merge pull request #51734 from timothyqiu/resource-menu-item-3x
...
[3.x] Disable "Edit Resource from Clipboard" when nothing in clipboard
2021-08-16 18:32:34 +02:00
fabriceci
2cb364bab1
Avoid to snap when the body is already on the floor.
2021-08-16 18:09:44 +02:00
Rémi Verschelde
5ac3a85af3
Merge pull request #51117 from Calinou/macos-fix-xbox-bluetooth-controllers-3.x
...
Fix Xbox controllers in Bluetooth mode on macOS (3.x)
2021-08-16 17:50:17 +02:00
Hugo Locurcio
f95035b80b
Fix Xbox controllers in Bluetooth mode on macOS
...
This prevents the D-pad up arrow from being registered as pressed
when it isn't, and pressing any direction from activating the next
arrow clockwise of it.
Co-authored-by: Scott Wadden <scott.wadden@gmail.com>
2021-08-16 17:06:31 +02:00
Haoyu Qiu
1a9604f605
Disable "Edit Resource from Clipboard" menu item when nothing in clipboard
...
To be consistent with other menu items.
2021-08-16 22:36:49 +08:00
Rémi Verschelde
76c891c257
Merge pull request #51706 from maiself/fix-input-methods-returning-zero-strength
...
Fix input methods returning zero strength when pressed status not requested
2021-08-16 13:02:36 +02:00
Rémi Verschelde
293d01ef33
Merge pull request #51721 from akien-mga/android-ndk-19
...
Android: Increase default armv7 NDK platform to 19
2021-08-16 10:48:40 +02:00
Rémi Verschelde
032559936f
Merge pull request #51031 from kleonc/sprite_frames-preserve-src-atlas_texture-margins-3x
...
[3.x] SpriteFramesEditor: preserve source texture margins when creating frames from AtlasTexture
2021-08-16 10:37:57 +02:00
Rémi Verschelde
7722eea613
Merge pull request #51252 from kleonc/tab_container-fix-disconnecting-errors-3x
...
[3.x] TabContainer: Fix error on removing top-level Control child, Remove _get_tab method
2021-08-16 10:35:45 +02:00
Rémi Verschelde
daf922fa8a
Android: Increase default armv7 NDK platform to 19
...
Following #50359 this is the new minSdk that we target.
Users can still override it in custom builds if they want to support SDK 18.
2021-08-16 10:14:03 +02:00
Rémi Verschelde
028a2a7205
Merge pull request #50359 from m4gr3d/address_external_dir_access
...
[3.x] Add support for Android scoped storage
2021-08-16 09:48:34 +02:00
Rémi Verschelde
33c9dd8845
Merge pull request #51363 from parulina/gles2-blendshapes-perf
2021-08-16 08:42:14 +02:00
Rémi Verschelde
237adfac9d
Merge pull request #51714 from clayjohn/GLES3-normal-blend
...
Define normal_attrib when not using octahedral compression in GLES3
2021-08-16 08:26:06 +02:00
paru
ab21a3b8fb
Performance improvements for GLES2 CPU blendshapes
2021-08-16 08:22:45 +02:00
clayjohn
81dc6a7688
Define normal_attrib when not using octahedral compression in GLES3
2021-08-15 22:27:46 -07:00
Mai Lavelle
d418443992
Fix input methods returning zero strength when pressed status not requested
...
Fixes behavior of these methods:
`InputMap::event_get_action_status`
`InputEvent*::action_match`
Previously when `p_pressed` was `nullptr`, `p_strength` would be set to
`0.0f` regardless of event strength. This affected `InputEventAction` events
processed by `Input.parse_input_event` for example.
Regression found in afa89c9eea
2021-08-15 20:00:31 -04:00
Rémi Verschelde
66497e2ecb
Merge pull request #51693 from dalexeev/fix-name-casing-setting
...
[3.x] Fix "Property not found: editor/node_naming/name_casing"
2021-08-15 16:29:05 +02:00
Danil Alexeev
1372ba681b
[3.x] Fix "Property not found: editor/node_naming/name_casing"
2021-08-15 16:54:19 +03:00
Rémi Verschelde
450f7fdc39
Merge pull request #51690 from QbieShay/rotate-y-fix
...
fixed rotate y flag causing the position to reset
2021-08-15 12:18:54 +02:00
Rémi Verschelde
a002e92c2e
Merge pull request #51689 from lawnjelly/portals_fix_roaming
...
Portals - Fix cull roaming through multiple portals
2021-08-15 12:11:08 +02:00
QbieShay
32c287e01b
fixed rotate y flag causing the position to reset
2021-08-15 11:35:22 +02:00
lawnjelly
546e207d8f
Portals - Fix cull roaming through multiple portals
...
Small bug in the logic, the roaming objects only should be set to done when they have been marked as visible, rather than the first time they are examined. This is because they can be seen in a room through multiple portals, and each needs to be tested until there is either a visible result or all the portals in are visited.
2021-08-15 10:22:27 +01:00
Rémi Verschelde
f285b88dae
Merge pull request #51658 from timothyqiu/view-name-3x
...
[3.x] Fix i18n of 3D view name
2021-08-14 18:02:40 +02:00
Haoyu Qiu
afea754e97
Fix i18n of 3D view name
...
Make the full view name translatable as a whole instead of combining
from sub-strings.
2021-08-14 15:23:59 +08:00
Yuri Sizov
ab25266213
Add support for partial custom editor themes
2021-08-14 02:11:54 +03:00
Yuri Sizov
be491e248a
Make sure stylebox is valid in EditorSpinSlider before using it
2021-08-14 00:20:29 +03:00
Rémi Verschelde
632844e464
Merge pull request #51320 from pycbouh/docs-extract-theme-items-3.x
...
[3.x] Add theme item descriptions to the online documentation
2021-08-13 22:39:09 +02:00