Hugo Locurcio
663af7ff03
Fix tonemap exposure not being taken into account by sharpening
...
The same fix as FXAA was applied to the CAS filter.
2021-08-18 16:44:41 +02:00
Rémi Verschelde
ddfaf20f62
Merge pull request #50483 from akien-mga/3.x-ci-emscripten-2.0.25
2021-08-18 11:56:39 +02:00
Rémi Verschelde
1de8f31448
CI: Upgrade Emscripten to 2.0.25
...
That's the version used by current containers for Godot 3.4.
Fixes a couple stray warnings that new Emscripten/LLVM catches.
2021-08-18 11:13:34 +02:00
Rémi Verschelde
19301d4ad2
Merge pull request #51828 from yjh0502/ext-reload
...
Auto-reload scripts with external editor
2021-08-18 10:37:09 +02:00
Rémi Verschelde
216f5f8006
Merge pull request #51824 from timothyqiu/text-editor-ttr
2021-08-18 10:06:25 +02:00
Jihyun Yu
5c66891048
Auto-reload scripts with external editor
2021-08-18 16:52:14 +09:00
Rémi Verschelde
2875cd1651
Merge pull request #51826 from Calinou/port-visual-shader-icons-3.x
...
Port visual shader node icons from Godot 2.1.x (3.x)
2021-08-18 08:58:29 +02:00
Rémi Verschelde
111e489f78
Merge pull request #51822 from Calinou/editor-icons-add-expression-3.x
...
Add editor icons for VisualScript and VisualShader expression resources (3.x)
2021-08-18 08:03:24 +02:00
Rémi Verschelde
92a7ae022d
Merge pull request #51769 from The-O-King/oct_split_stream_fix
...
Fix Octahedral/Split Stream Options
2021-08-18 08:01:56 +02:00
Hugo Locurcio
d782353afc
Port visual shader node icons from Godot 2.1.x
...
This also adds an icon for VisualScriptComment.
2021-08-18 05:27:19 +02:00
Haoyu Qiu
a66339a549
Fix TextEditor not checking Standard highlighter in non-English UI
...
When using non-English UI, there were `Index p_idx = -1 is out of bounds (items.size() = 2).`
errors on on startup if any text file is open in the script editor. And clicking the Standard
highlighter option does not check that menu item.
This is caused by `TextEditor` searching for that menu item with unlocalized text. As already
did in `ScriptTextEditor`, this PR stores and searches for menu item with `TTR`ed text.
2021-08-18 10:42:12 +08:00
Hugo Locurcio
4ef661c1e8
Add editor icons for VisualScript and VisualShader expression resources
2021-08-18 03:36:04 +02:00
Omar El Sheikh
a63028e172
Fix Octahedral/Split Stream Options
...
Update mesh_surface_get_format_stride and
mesh_surface_make_offsets_from_format to return an array of offsets and
an array of strides in order to support vertex stream splitting
Update _get_array_from_surface to also support vertex stream splitting
Add a condition on split stream usage to ensure it does not get used on
dynamic meshes
Handle case when Tangent is compressed but Normal is not compressed
Make stream splitting option require a restart in the settings
Update SoftBody and Sprite3D to support and use strides and offsets
returned by updated visual_server functions
Update Sprite3D to use the dynamic mesh flag
2021-08-17 16:11:47 -04: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