Commit graph

30977 commits

Author SHA1 Message Date
nobuyuki_nyuu
522af5c614 Bind TabContainer::get_tab_idx_at_point() to ClassDB 2021-08-29 09:11:41 -05:00
Hugo Locurcio
3bd682cc7b
Merge pull request #52018 from Calinou/doc-networkedmultiplayerenet-compression-mode
Document that ENet compression mode must match between client and server
2021-08-23 18:57:28 +02:00
Hugo Locurcio
c2945365d8
Document that ENet compression mode must match between client and server 2021-08-23 17:35:42 +02:00
Max Hilbrunner
27bcd0601e
Merge pull request #51938 from clayjohn/GLES3-reflection-probe
Properly clear cubemap filter state when texture array environment disabled
2021-08-23 16:02:55 +02:00
Max Hilbrunner
8c98320f93
Merge pull request #51967 from Calinou/spatialmaterial-gles2-allow-more-features
Allow clearcoat, anisotropy and refraction in SpatialMaterial in GLES2
2021-08-23 16:01:55 +02:00
Hugo Locurcio
2370fe5c26
Merge pull request #51973 from Calinou/define-minimum-window-size-3.x
Define a default minimum window size to workaround rendering issues (3.x)
2021-08-23 04:10:55 +02:00
Hugo Locurcio
59f24d8867
Define a default minimum window size to workaround rendering issues
The minimum window size can still be set to `Vector2(0, 0)` in a script
if needed.
2021-08-23 04:10:24 +02:00
Michael Alexsander
2ea2f30d33
Merge pull request #51993 from Calinou/basebutton-remove-enabled-focus-mode-warning
Remove deprecation warning for `BaseButton.enabled_focus_mode`
2021-08-23 01:06:55 +00:00
Hugo Locurcio
43da1790c8
Remove deprecation warning for BaseButton.enabled_focus_mode
There were too many instances of false positives that are difficult
to fix. The note in the class reference has been clarified instead.
2021-08-22 21:47:53 +02:00
Michael Alexsander
a989eb9335
Merge pull request #51972 from Calinou/improve-editor-window-title-3.x
Improve the editor window title for better usability (3.x)
2021-08-22 19:11:29 +00:00
Michael Alexsander
c62399557a
Merge pull request #51974 from anazr9/godot-3.x-fixes
Fixed Crash with RichTextLabel [fill] tag #51968
2021-08-22 13:40:51 +00:00
Anas Saifi
4874270592
Removed unused variable 2021-08-22 15:58:45 +05:30
Anas Saifi
9b06355488
Update scene/gui/rich_text_label.cpp
Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
2021-08-22 15:18:52 +05:30
anazr9
b8bf2ec3cd fixed crash with RichTextLabel [fill] tag #51968 by using 3.3 as reference 2021-08-22 14:17:01 +05:30
Hugo Locurcio
27e38b0f26
Improve the editor window title for better usability
- Display the scene name, then the project name, then "Godot Engine".
- Display the "modified" mark before anytihng else.

Both of these changes ensure important, project-specific elements
can always be seen in the task bar which may truncate strings due to
its low per-item width.

- Use "Unnamed Project" if the project has no name (similar to the
  Project Manager).
2021-08-22 08:59:42 +02:00
Hugo Locurcio
33d23281cb
Allow clearcoat, anisotropy and refraction in SpatialMaterial in GLES2
These SpatialMaterial features work just fine in GLES2,
but they were not exposed in the inspector when GLES2 was used.
2021-08-22 02:18:36 +02:00
clayjohn
987aef4e0d Properly clear cubemap filter state when texture array environment disabled 2021-08-20 19:12:38 -07:00
Camille Mohr-Daurat
16642e2838
Merge pull request #51921 from mortarroad/3.x-fix-convex-hull-winding
[3.x] Fix winding of new convex hull implementation.
2021-08-20 08:20:52 -07:00
K. S. Ernest (iFire) Lee
ffe39ee393
Merge pull request #51922 from Gallilus/Revert-sequence-port-VisualScriptPropertySet-basic-type
Revert sequence port VisualScriptPropertySet basic type
2021-08-20 08:05:14 -07:00
David Cambré
be7718c96c Revert sequence port VisualScriptPropertySet basic type
Revert a part of #50709.
Adding a sequence port to basic type set breaks backwards compatibility
2021-08-20 15:43:47 +02:00
Morris Tabor
82279538a3 Fix winding of new convex hull implementation. 2021-08-20 15:19:39 +02:00
Rémi Verschelde
0452832a16
Merge pull request #51875 from V-Sekai/gltf_accessor_min
Assign the min values in gltf accessors [3.x]
2021-08-19 11:54:42 +02:00
Rémi Verschelde
9b3d3ee6fc
Merge pull request #48571 from SaracenOne/collada_semantic_fix_3_x
Fix to parsing some Collada files with extra vertex semantics  [3.x]
2021-08-19 11:09:18 +02:00
Lyuma
79b016adad Assign the min values in gltf accessors 2021-08-19 09:30:05 +01:00
Saracen
6482ba8807 Fix to parsing some Collada with extra vertex semantics referenced only in the vertices section. 2021-08-19 08:45:52 +01:00
Rémi Verschelde
6a058cbf39
Merge pull request #51746 from Calinou/add-shader-comment-3.x
Add a comment at the top of generated shaders (3.x)
2021-08-19 00:16:29 +02:00
Rémi Verschelde
364e281c75
Merge pull request #51834 from KoBeWi/🔓🔓🔓
[3.x] Include locked nodes on selection list
2021-08-19 00:15:15 +02:00
Fredia Huya-Kouadio
3baf5563e8
Delegate handling and implementation of the restart functionality to the Godot host.
(cherry picked from commit f4222733ca)
2021-08-18 23:21:13 +02:00
Fabio Alessandrelli
b7b9b902e5
Update Godot Javascript FS library to manually depend on ERRNO_CODES.
Fixes compatibility with Emscripten 2.0.26+.

(cherry picked from commit 71fb2429a0)
2021-08-18 23:20:34 +02:00
kobewi
6eb52b0768
Fix renaming directories
(cherry picked from commit 0dde3e5b59)
2021-08-18 23:19:44 +02:00
Hugo Locurcio
da757c25e1
Improve the animation bezier editor
- Allow snapping bezier handles to the timeline.
- Allow precise snapping when holding Shift for keyframes and handles.
  - Previously, it was only allowed for seeking the timeline.
  - This change also impacts the animation track editor,
    not just the bezier editor.
- Invert the Ctrl + mouse wheel behavior to match the zoom direction
  in the animation track editor.
- Increase the line spacing between the "Time:" and "Value:" texts
  to improve readability.
- Tweak box selection styling to match the animation track editor.
- Adjust line widths for hiDPI displays.

(cherry picked from commit 4a4d977bea)
2021-08-18 23:11:46 +02:00
Gordon MacPherson
0a1cf70037
Fix github actions cache server being down failing builds
(cherry picked from commit 27da2e364e)
2021-08-18 23:08:21 +02:00
Rémi Verschelde
8605d4ec26
SCons: Fix potential error when pruning cache on CI
This could cause spurious errors on CI when trying to prune the cache,
as for some reason it tries to remove files/paths which do not exist.

That points at a bug in the `cache_progress` logic but at least this
workaround should prevent CI failures.

(cherry picked from commit 825b245f0d)
2021-08-18 23:05:58 +02:00
Rémi Verschelde
85e13a4e02
Merge pull request #51858 from nekomatata/bullet-test-body-motion-depth-3.x
[3.x] Add collision depth and safe/unsafe fraction to Bullet body_test_motion
2021-08-18 22:45:54 +02:00
Rémi Verschelde
64a4c2378d
Merge pull request #51857 from nekomatata/bullet-test-body-motion-crash-3.x
[3.x] Fix crash in body_test_motion when used with RigidBody3D in Bullet
2021-08-18 22:45:16 +02:00
PouleyKetchoupp
02adb0e361 Add collision depth and safe/unsafe fraction to Bullet body_test_motion
It was only implemented for godot physics before.
2021-08-18 13:09:27 -07:00
PouleyKetchoupp
db47b670f6 Fix crash in body_test_motion when used with RigidBody3D in Bullet
Kinematic utilities are now initialized for a rigid body if needed for a
call to body_test_motion.
2021-08-18 13:07:21 -07:00
Rémi Verschelde
3daf5361cc
Merge pull request #51849 from aaronfranke/3.x-float-doc
[3.x] Improve the docs for the float type
2021-08-18 21:46:58 +02:00
Aaron Franke
02a94ee977
[3.x] Improve the docs for the float type 2021-08-18 13:27:43 -05:00
Rémi Verschelde
a67eaa67b0
Merge pull request #51732 from codecat/fix-caret-selection-3.x
Move cursor to edge of selection when moving caret left/right
2021-08-18 20:12:19 +02:00
Rémi Verschelde
f87c6a38b8
Merge pull request #51839 from pycbouh/particles-adjust-material-bit-size-3.x
[3.x] Adjust the material key bit size for `ParticlesMaterial`
2021-08-18 17:28:35 +02:00
Rémi Verschelde
42b7f1fbc4
Merge pull request #51841 from Calinou/cas-fix-tonemap-exposure
Fix tonemap exposure not being taken into account by sharpening
2021-08-18 17:13:00 +02:00
Yuri Sizov
29f0a0eebf Adjust the material key bit size for ParticlesMaterial 2021-08-18 17:53:24 +03:00
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
Melissa Geels
6bf6d18ee1 Move cursor to edge of selection when moving caret left/right
This is to mimic the behavior of many third party text editors.
The reasons it's not doing it when moving by word is due to that
behavior being mostly the same on other editors.

This was backported to 3.x from pull request #51502.
2021-08-18 14:28:57 +02:00
kobewi
6611d24e74 Include locked nodes on selection list 2021-08-18 13:27:33 +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