Commit graph

5186 commits

Author SHA1 Message Date
Hugo Locurcio
2dc7b03a82
Allow using between 1 and 8 cascades for SDFGI
This provides more flexibility between performance and quality
adjustments, especially when using SDFGI for small-scale levels
(which can be useful for procedurally generated scenes).
2022-01-17 16:49:02 +01:00
kobewi
7bb682651f Clarify to_float() and to_int() methods 2022-01-17 16:44:07 +01:00
Rémi Verschelde
b315295ffc
Merge pull request #56865 from bruvzg/cmd_exec 2022-01-17 15:58:06 +01:00
Rémi Verschelde
57ad84537d
Merge pull request #56860 from bruvzg/icu_case 2022-01-17 14:28:38 +01:00
bruvzg
9faf1e027a
[Documentation] Add instruction how to execute built-in commands of various shells. 2022-01-17 15:10:04 +02:00
Rémi Verschelde
8bdef23f7f
Merge pull request #56012 from bruvzg/wt🤎4 2022-01-17 13:26:15 +01:00
Rémi Verschelde
a2d323c67e
Merge pull request #54794 from bruvzg/runtime_bmfont_parser 2022-01-17 13:25:08 +01:00
bruvzg
e02a097280
[TextServer] Implement locale and context sensitive case conversion functions. 2022-01-17 14:23:36 +02:00
Rémi Verschelde
a27b85378b
Merge pull request #56309 from Calinou/remove-pvrtc-support 2022-01-16 11:15:34 +01:00
Rémi Verschelde
1cff9a2e49
Merge pull request #55551 from brennengreen/panorama-sky-filtering
Add filtering property to PanoramaSkyMaterial and switch from static shader to shader cache
2022-01-16 01:30:44 +01:00
Brennen Green
0695440124 Add shader cache and filter variable to PanoramaSkyMaterial 2022-01-14 23:30:27 -05:00
kobewi
3f0e9da5a4 Mention that modifying text erases BBCode stacks 2022-01-15 02:13:58 +01:00
Hugo Locurcio
40be15920f
Remove support for PVRTC texture encoding and decoding
On the only platform where PVRTC is supported (iOS),
ETC2 generally supersedes PVRTC in every possible way. The increased
memory usage is not really a problem thanks to modern iOS' devices
processing power being higher than its Android counterparts.
2022-01-14 21:08:22 +01:00
Rémi Verschelde
f60c81af11
Merge pull request #56784 from V-Sekai/expose-add-named-bind 2022-01-14 14:24:16 +01:00
K. S. Ernest (iFire) Lee
c5528af71c Expose add_named_bind for all essential skin bindings. 2022-01-14 03:20:24 -08:00
Rémi Verschelde
f0382530a7
Merge pull request #56268 from KoBeWi/🚗complete_setters 2022-01-13 12:40:48 +01:00
Rémi Verschelde
e0f2902a11
Merge pull request #55665 from KoBeWi/you_touched_my_TouchScreeenButton 2022-01-13 12:23:49 +01:00
Rémi Verschelde
a987ebfde2
Merge pull request #56714 from bruvzg/fix_alignment_break_overrun 2022-01-13 10:20:02 +01:00
Rémi Verschelde
8fce6166cb
Merge pull request #56311 from Calinou/default-allow-hidpi 2022-01-13 09:33:00 +01:00
Rémi Verschelde
f6792eacf5
Merge pull request #54956 from Calinou/lineedit-textedit-add-caret-width-theme-item
Add a theme constant to change LineEdit and TextEdit's caret width
2022-01-13 09:21:01 +01:00
bruvzg
baec983d8a
[TextServer] Improvements for line breaking, "Fill" alignment, overrun, and interaction between these modes.
Fix "Fill" alignment processing wrong side of the text if overrun trim was applied.
Improve "Fill" alignment to avoid adding excessive subsequent spaces or elongations.
Add font detection to the overrun, to correctly add ellipsis (was using last glyph font, which doesn't necessary have dot character).
Improve line breaking to avoid adding excessive subsequent soft break points for languages without word separator.
Port missing overrun/justification code to the Fallback text server.
Fix inferred text direction detection by controls.
Add tests for "Fill" alignment and line breaking glyph flags.
2022-01-13 08:53:28 +02:00
Rémi Verschelde
53096c6f01
i18n: Sync classref translations with Weblate
(cherry picked from commit b9b23d2226)
2022-01-12 18:45:42 +01:00
Rémi Verschelde
f927fee49a
Merge pull request #56708 from KoBeWi/to_hover_or_not_to_hover 2022-01-12 17:28:34 +01:00
Rémi Verschelde
929f483ca0
Merge pull request #55446 from Calinou/spritebase3d-remove-opacity 2022-01-12 16:49:57 +01:00
Rémi Verschelde
42d3993446
Merge pull request #56692 from JFonS/fix_gizmo_secondary_handles 2022-01-12 15:53:06 +01:00
jfons
5ebea2d120 Fix secondary handles in editor gizmos
Primary and secondary handles are no longer differentiated by their ids, so a bool was added to tell them apart in all the handle-related methods.

Includes a minor fix in CollisionPolygon3DEditor, unrelated to editor gizmos.
2022-01-12 14:21:20 +01:00
kobewi
4eec0032ea Improve description of mouse_exited signal 2022-01-12 12:49:21 +01:00
Rémi Verschelde
886c75985f
Merge pull request #56710 from zacryol/spriteframes-list-3d 2022-01-12 12:21:53 +01:00
Rémi Verschelde
d9f6e33663
Merge pull request #56684 from zacryol/file-dialog-filters-description 2022-01-12 11:46:23 +01:00
Rémi Verschelde
b5495783b2
Merge pull request #53185 from KoBeWi/viewing_pan 2022-01-12 11:36:41 +01:00
zacryol
4391f6a5b5 List AnimatedSprite3D in SpriteFrames description
Both AnimatedSprite2D and AnimatedSprite3D use a SpriteFrames resource, but the SpriteFrames
class description currently only lists being used with the 2D variant.
2022-01-11 19:55:45 -07:00
zacryol
123cfb4759 Update description of FileDialog filters property
specify that multiple filetypes/extensions can be included in one filter within the
PackedStringArray, and provide an example
2022-01-11 18:04:14 -07:00
Max Hilbrunner
96a20e477b
Merge pull request #56697 from mhilbrunner/meshdatatool-docs
Fixed typos in MeshDataTool documentation
2022-01-11 23:00:13 +01:00
Sam
bc9df365b0 Fixed typos in MeshDataTool documentation
- Fixed missing "be" typo in MeshDataTool's get_face_edge function
- Corrected documentation to say negative values aren't valid
2022-01-11 17:39:10 +01:00
Max Hilbrunner
b6bdbd2650
Merge pull request #56681 from skyace65/InstancePlaceholder
Instance placeholder clarification
2022-01-11 17:21:01 +01:00
Rémi Verschelde
d40d86b959
Merge pull request #56667 from Ice-Cube69/fix_incorrect_property_types 2022-01-11 14:34:18 +01:00
kobewi
ba7ed05792 Unify panning in sub-editors and make it configurable 2022-01-11 13:57:19 +01:00
Rémi Verschelde
adf29a0deb
Merge pull request #56525 from timothyqiu/2d-cross-product 2022-01-11 13:35:38 +01:00
Arnav Vijaywargiya
0c46f73b5e Fixed incorrect property types 2022-01-11 17:17:11 +05:30
Rémi Verschelde
46624388d4
Merge pull request #56322 from madmiraal/fix-42450 2022-01-11 11:33:59 +01:00
Rémi Verschelde
f20ae16e0b
Merge pull request #56323 from Gallilus/Update-default-port_grab_distance_vertical 2022-01-11 11:17:33 +01:00
Haoyu Qiu
d54586a8e6 Explain what 2D cross product means 2022-01-11 11:48:45 +08:00
skyace65
7a5f6dc543 Instance placeholder clarification 2022-01-10 20:18:33 -05:00
Rémi Verschelde
c6cefb1b79
Array: Relax slice bound checks to properly handle negative indices
The same is done for `Vector` (and thus `Packed*Array`).

`begin` and `end` can now take any value and will be clamped to
`[-size(), size()]`. Negative values are a shorthand for indexing the array
from the last element upward.

`end` is given a default `INT_MAX` value (which will be clamped to `size()`)
so that the `end` parameter can be omitted to go from `begin` to the max size
of the array.

This makes `slice` works similarly to numpy's and JavaScript's.
2022-01-10 22:42:03 +01:00
Rémi Verschelde
c5908d7ece
Merge pull request #56631 from zacryol/expand-is-on-X-description 2022-01-10 17:10:37 +01:00
Rémi Verschelde
e6cc0ff1a5
Merge pull request #56666 from bruvzg/joy_button_fix 2022-01-10 16:22:43 +01:00
bruvzg
61ea8f8337
Add joystick button index boundary check. Increase max. button number to 128 (max. buttons supported by DirectInput). 2022-01-10 14:39:05 +02:00
Rémi Verschelde
7faf02383c
Merge pull request #55225 from bruvzg/fix_ligature_cursor_and_ot_features 2022-01-10 13:32:54 +01:00
Rémi Verschelde
5f7bbf4d33
Merge pull request #55456 from KoBeWi/break_all_the_things 2022-01-10 12:36:21 +01:00
Rémi Verschelde
a095c4bf65
Merge pull request #56648 from KoBeWi/tween_pause() 2022-01-10 12:34:30 +01:00
Max Hilbrunner
4e5969c6f0
Merge pull request #56656 from skyace65/NormalMap
Fix normal map description
2022-01-10 08:37:41 +01:00
Max Hilbrunner
dbaa9273ee
Merge pull request #56638 from skyace65/ScriptProperty
Add a note that the script property is part of the object class
2022-01-10 08:23:53 +01:00
skyace65
d856074488 Fix normal map description 2022-01-09 15:03:33 -05:00
kobewi
205f56f226 Fix Tween pause behavior 2022-01-09 19:38:18 +01:00
kobewi
cc5dac1e50 Restore Tween easing descriptions 2022-01-09 19:35:03 +01:00
zacryol
4f9365dedf Expand description of is_on_X methods for CharacterBody2D/3D
Clarifies in the description for each method that the `up_direction` and `floor_max_angle`
properties are used to determine the status of a collided surface.
2022-01-09 11:21:23 -07:00
bruvzg
c89c515ccf
[TextServer] Improve ligature cursor handling.
Fix mid-grapheme hit test.
Fix OpenType features property handling, add default features override option.
Enable mid-grapheme cursor by default.
2022-01-09 19:03:48 +02:00
skyace65
66fae485ea Add a note that the script property is part of the object class 2022-01-09 10:26:16 -05:00
Rémi Verschelde
5a61822d7c
Merge pull request #56626 from KoBeWi/FilterDialog
Improve FileDialog filters
2022-01-09 00:52:29 +01:00
kobewi
b403954e41 Improve FileDialog filters 2022-01-08 16:27:15 +01:00
Haoyu Qiu
6f0e31a3c9 Misc documentation improvements 2022-01-08 22:38:55 +08:00
Hugo Locurcio
1b01cef301
Update doc_status script to support constructors and operators docs
- Reorder columns from highest number of items contained within
  to lowest number.
- Remove some obsolete code and fix a typo.
2022-01-07 23:50:10 +01:00
Hugo Locurcio
f6443beade
Add a theme constant to change LineEdit and TextEdit's caret width
This can be useful to improve caret visibility, especially at
larger font sizes. This can also be used for accessibility purposes.
2022-01-07 20:51:22 +01:00
Rémi Verschelde
c09c4e0154
Merge pull request #56575 from HaSa1002/drag-signal-began
Rename GraphEdit `connection_drag_begun` to `connection_drag_started`
2022-01-07 20:41:39 +01:00
kobewi
562fc4cc0d Rename TextureRect.expand to ignore_texture_size 2022-01-07 20:21:17 +01:00
Johannes Witt
4c5ceb1a97
Rename GraphEdit connection_drag_begun to connection_drag_started 2022-01-07 18:25:03 +01:00
Rémi Verschelde
6e4da909aa
Merge pull request #56594 from Faless/editor/4.x_keying_signal_fix
[Editor] Fix inspector keying signals argument count.
2022-01-07 17:34:37 +01:00
Rémi Verschelde
6a27d7361a
Merge pull request #56321 from pycbouh/core-use-gdvirtual-everywhere 2022-01-07 16:14:28 +01:00
Hendrik Brucker
40ee2b8953 Add FlowContainer 2022-01-07 15:51:49 +01:00
Fabio Alessandrelli
98b147b319 [Editor] Fix inspector keying signals argument count.
The second parameter of the signals `EditorInspector.property_keyed` and
`EditorProperty.property_keyed_with_value` can be NIL, causing the event
to fire with less arguments when using `emit_signal` that accepts
Variant arguments, so we use the pointer version instead.
2022-01-07 15:48:37 +01:00
Rémi Verschelde
50225a0f32
i18n: Sync classref translations with current 3.x codebase
(cherry picked from commit defb801120)
2022-01-07 13:39:06 +01:00
Rémi Verschelde
315805649a
i18n: Sync classref translations with Weblate
(cherry picked from commit e9484e057d)
2022-01-07 13:35:36 +01:00
Rémi Verschelde
7640dc2c73
Merge pull request #55775 from timothyqiu/slider-drag 2022-01-07 13:02:40 +01:00
Max Hilbrunner
a1ea8976f3
Merge pull request #52441 from follower/patch-16
Fix the "AudioEffectRecord" descriptions.
2022-01-07 10:30:10 +01:00
Rémi Verschelde
697fb6e874
Merge pull request #56583 from skyace65/ProjectSettingErase
Document how to erase project settings with set_setting
2022-01-07 09:26:52 +01:00
Rémi Verschelde
0905f81c0a
Merge pull request #56162 from akien-mga/i18n-make_rst-more-translatable
i18n: Make more `make_rst.py` strings translatable
2022-01-07 09:23:57 +01:00
skyace65
290038952f Document how to erase project settings with set_setting 2022-01-06 22:25:35 -05:00
Rémi Verschelde
e1766da4bd
Merge pull request #53618 from aaronfranke/signed-angle-vec3i
Add length and length_squared to Vector2i/3i
2022-01-07 01:14:29 +01:00
Rémi Verschelde
dc7235b71c
Merge pull request #54560 from rafallus/tab_items 2022-01-07 00:46:46 +01:00
Rémi Verschelde
b008cb8df6
Merge pull request #55877 from aaronfranke/slerp-same-len 2022-01-07 00:44:26 +01:00
Rémi Verschelde
a01b18a476
Fix typos with codespell
Using codespell 2.1.0.

Method:
```
$ cat > ../godot-word-whitelist.txt << EOF
ang
ans
ba
curvelinear
dof
doubleclick
fave
findn
gird
inout
leapyear
lod
merchantibility
nd
numer
ois
ony
que
readded
seeked
statics
2022-01-07 00:12:09 +01:00
Rémi Verschelde
9e97262132
Merge pull request #56170 from Calinou/renderingserver-expose-gi-half-resolution 2022-01-07 00:05:43 +01:00
Rémi Verschelde
fd1d0c28c2
i18n: Make more make_rst.py strings translatable
For now we leave out the strings which could break rst table formatting.
2022-01-06 21:13:38 +01:00
Rémi Verschelde
5e7faed078
Merge pull request #56540 from Calinou/renderingserver-expose-ssil-quality
Expose RenderingServer SSIL quality setter methods
2022-01-06 20:26:59 +01:00
Aaron Franke
064036d786
Allow Vector2/3 slerp values to have any length 2022-01-06 11:12:59 -08:00
Rémi Verschelde
f5d281d55f
Merge pull request #50896 from HaSa1002/add-graphedit-drag-signals-4
Add `GraphEdit` drag notifications
2022-01-06 19:31:22 +01:00
Aaron Franke
2c52f16464
Add length and length_squared to Vector2i/3i 2022-01-06 10:06:56 -08:00
Rémi Verschelde
06b709ece3
Merge pull request #56435 from V-Sekai/inspector_default_fix
Fix incorrect default transform values on foreign 3D nodes
2022-01-06 18:36:01 +01:00
Rémi Verschelde
bd1aa669cb
Merge pull request #56145 from V-Sekai/auto_rm_3
Move functionality automatically setting roughness/metallic on texture assignment to editor callback
2022-01-06 18:34:35 +01:00
Johannes Witt
0505b08a56
Add GraphEdit drag notifications
This commit adds two signals:
 * connection_drag_begun, which is emitted when a connection is started
   to be created by the user and
 * `connection_drag_ended`, which is emitted when no longer a connection
   is created.

Additionally `force_connection_drag_end()` adds the possibility to end
the connection dragging. If called from user code, no other connection
request signals are invoked. This is useful to add `GraphNode`s via
shortcuts while the user is dragging a connection to directly connect
the newly added node.
2022-01-06 17:51:40 +01:00
Rémi Verschelde
8d83da5bf9
Merge pull request #56224 from Calinou/variant-rename-packed-array-constants 2022-01-06 17:08:36 +01:00
SaracenOne
901f376671 Move metallic and roughness automated assignment to an inspector UndoRedo
callback.
2022-01-06 16:07:26 +00:00
SaracenOne
726fbb821b Fix incorrect default transform values on foreign 3D nodes 2022-01-06 15:52:22 +00:00
Rémi Verschelde
84d82030c3
Merge pull request #56549 from bruvzg/utf8_fixes 2022-01-06 14:46:48 +01:00
bruvzg
c69e0d16bc
Fix multiple missing UTF-8 decoding. 2022-01-06 14:35:22 +02:00
Haoyu Qiu
3d08becd06 Unify similar method descriptions
Notably:

* `Packed*Array.size()` and `Array.size()`.
* Shared methods of `Transform2D` and `Transform3D`.
* Shared methods of `Vector2`, `Vector3`, and `Vector2i`.

This reduces the Deja Vu when translating the class reference :)
2022-01-06 19:50:57 +08:00
Yuri Roubinsky
21cfcaa129 Add a GDScript template for VisualShaderNodeCustom 2022-01-06 12:06:33 +03:00
Hugo Locurcio
221efffdf7
Expose RenderingServer SSIL quality setter methods
This allows changing SSIL quality at run-time in a project.
2022-01-06 02:35:49 +01:00
Rémi Verschelde
3662105f8b
Merge pull request #56479 from V-Sekai/import-options 2022-01-05 20:44:42 +01:00
rafallus
b4abb73ea5 Inspector property array for TabBar 2022-01-05 12:23:11 -06:00