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
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
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
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
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
Rémi Verschelde
63d9308b4b
Merge pull request #56047 from piiertho/feature/osx-sign-directory
2022-01-05 14:38:17 +01:00
Fernando Cosentino
ca79373d13
Added material_overlay property to MeshInstance3D
...
Applying overlay materials into multi-surface meshes currently
requires adding a next pass material to all the surfaces, which
might be cumbersome when the material is to be applied to a range
of different geometries. This also makes it not trivial to use
AnimationPlayer to control the material in case of visual effects.
The material_override property is not an option as it works
replacing the active material for the surfaces, not adding a new pass.
This commit adds the material_overlay property to GeometryInstance3D
(and therefore MeshInstance3D), having the same reach as
material_override (that is, all surfaces) but adding a new material
pass on top of the active materials, instead of replacing them.
2022-01-05 11:47:51 +01:00
K. S. Ernest (iFire) Lee
07a39684a0
options dict is now passed to _import_scene.
2022-01-05 01:07:54 -08:00
Rémi Verschelde
d0cd211865
Merge pull request #56293 from skyace65/CullModeMaterial
...
Fix and improve cull mode description in material
2022-01-05 09:20:15 +01:00
Rémi Verschelde
a33e903bf7
Merge pull request #56495 from Calinou/doc-input-ghosting
...
Document keyboard ghosting caveats in Input and InputEvent
2022-01-05 08:47:50 +01:00
Hugo Locurcio
d01e22f187
Document keyboard ghosting caveats in Input and InputEvent
...
This also adds recommendations for choosing between
`is_physical_key_pressed()` and `is_key_pressed()`.
2022-01-05 02:55:25 +01:00
Hugo Locurcio
7ce58d9c6e
Fix missing period in CanvasItem.draw_primitive()
description
2022-01-05 02:05:56 +01:00
skyace65
0a56a9d731
Fix and improve cull mode description in material
2022-01-04 18:21:40 -05:00
Hugo Locurcio
64d1560945
Improve the CanvasItem class documentation
2022-01-04 19:55:22 +01:00
Rémi Verschelde
eab30316ee
Merge pull request #55332 from Calinou/voxelgidata-tweak-default-dynamic-range
...
Decrease the default dynamic range in VoxelGIData to 2.0
2022-01-04 17:18:28 +01:00
Rémi Verschelde
9a1f244d77
Merge pull request #56295 from aaronfranke/doc-midi
2022-01-04 16:45:33 +01:00
Rémi Verschelde
095c72b03e
Merge pull request #55790 from Calinou/renderingserver-add-device-type-getter
...
Add `RenderingServer.get_video_adapter_type()` method
2022-01-04 16:43:23 +01:00
Rémi Verschelde
851fb16350
Merge pull request #56305 from Calinou/rename-lod-threshold
2022-01-04 15:28:06 +01:00
Rémi Verschelde
ff211c8e5a
Merge pull request #55386 from Calinou/allow-disable-depth-prepass
2022-01-04 15:25:11 +01:00
Marcel Admiraal
f107139979
Rename Project Window width and height settings to match their function
2022-01-04 13:59:16 +00:00
Aaron Franke
de9adcf045
Document InputEventMIDI and add some missing 0xF MIDI messages
2022-01-04 05:30:43 -08:00
JFonS
6c25d05f70
Merge pull request #55370 from Calinou/geometryinstance3d-lod-fade-node-configuration-warning
...
Emit node configuration warnings for GeometryInstance3D distance fade
2022-01-04 13:58:32 +01:00
Max Hilbrunner
9623fdf141
Merge pull request #56228 from KoBeWi/returns_what
...
Fix get_v_scroll() desctiption in ItemList
2022-01-04 13:50:37 +01:00
Max Hilbrunner
ca8f0a910b
Merge pull request #56377 from Calinou/doc-basematerial3d-flowmap-format
...
Document the expected format of anisotropy flowmaps in BaseMaterial3D
2022-01-04 13:48:09 +01:00
Max Hilbrunner
b51448fba0
Merge pull request #56462 from Calinou/doc-lerp
...
Improve `lerp()`, `lerp_angle()` and `inverse_lerp()` documentation
2022-01-04 13:45:30 +01:00
Rémi Verschelde
42312f066b
Merge pull request #53313 from KoBeWi/debinded_konnekt
2022-01-04 12:22:46 +01:00
Rémi Verschelde
7f66c16c03
Merge pull request #51206 from clayjohn/Vulkan-ASSGI
2022-01-04 10:00:17 +01:00
Hugo Locurcio
8053cabb39
Improve lerp()
, lerp_angle()
and inverse_lerp()
documentation
...
This clarifies that `lerp()` can be used both for interpolation
and extrapolation.
2022-01-04 00:41:19 +01:00
Rémi Verschelde
dcb1b8247f
Merge pull request #56209 from skyace65/mouseInputEvent
...
Improve mouse input event class reference
2022-01-04 00:40:02 +01:00
Rémi Verschelde
1032c2c434
Merge pull request #55487 from YeldhamDev/scroll_bikeshedding
2022-01-03 14:10:41 +01:00
kobewi
2cad775461
Fix usage of "Return" in the docs
2022-01-02 21:09:18 +01:00
Max Hilbrunner
223beef14a
Merge pull request #56315 from luzpaz/typos
...
Fix various typos
2022-01-02 18:53:15 +01:00
Max Hilbrunner
937fb63a23
Merge pull request #53020 from Lertsenem/doc/fix_vector2_reflect
...
Fix error in Vector2.reflect() description
2022-01-02 14:28:46 +01:00
luz paz
a124f1effe
Fix various typos
...
Found via ` codespell -q 3 -S ./thirdparty,*.po,./DONORS.md -L ackward,ang,ans,ba,beng,cas,childs,childrens,dof,doubleclick,expct,fave,findn,gird,hist,inout,leapyear,lod,nd,numer,ois,ony,paket,seeked,sinc,switchs,te,uint,varn`
Update editor/import/resource_importer_layered_texture.cpp
Co-authored-by: Raul Santos <raulsntos@gmail.com>
Update doc/classes/TileSetScenesCollectionSource.xml
Co-authored-by: Raul Santos <raulsntos@gmail.com>
Update scene/gui/graph_edit.cpp
Co-authored-by: Raul Santos <raulsntos@gmail.com>
Update scene/resources/animation.cpp
Co-authored-by: Raul Santos <raulsntos@gmail.com>
Update scene/resources/animation.cpp
Co-authored-by: Raul Santos <raulsntos@gmail.com>
Update scene/resources/animation.cpp
Co-authored-by: Raul Santos <raulsntos@gmail.com>
Update scene/gui/rich_text_label.cpp
Co-authored-by: Raul Santos <raulsntos@gmail.com>
Revert previously committed change
2022-01-02 01:03:58 -05:00
skyace65
37dfe5c706
Improve mouse input event class reference
2022-01-01 21:58:27 -05:00
Max Hilbrunner
d58dfd4a7c
Merge pull request #56184 from skyace65/ObjectNotificationsLink
...
Add a link to the notifications tutorial page in the object class reference
2022-01-02 03:14:51 +01:00
Max Hilbrunner
bc2445d0eb
Merge pull request #56261 from skyace65/OSDebug
...
State that get static memory usage only works in debug
2021-12-31 17:59:37 +01:00
Hugo Locurcio
55d60bbf47
Document the expected format of anisotropy flowmaps in BaseMaterial3D
2021-12-31 17:26:24 +01:00
Hugo Locurcio
0a86dd4718
Enable "Allow Hidpi" by default
...
This fixes window management issues across platforms on hiDPI monitors.
The `--low-dpi` command line argument has been removed as similar
functionality (forcing low-DPI mode on DPI-aware programs) is
already provided by Windows and macOS itself.
2021-12-30 22:24:49 +01:00
skyace65
6b18614de7
Add warning to only use convex hull points when setting the point property for convex polygon shape
2021-12-29 21:16:56 -05:00
Clay John
91b97dac03
Merge pull request #56214 from timothyqiu/alpha-channel
...
Alpha channel indicates opacity, not transparency
2021-12-29 17:55:01 -07:00
David Cambré
38ad72af44
Update default port_grab_distance_vertical
2021-12-29 19:14:28 +01:00
Yuri Sizov
7d37f76241
Use GDVIRTUAL* macros when binding virtual methods in exposed classes
2021-12-29 20:27:44 +03:00
Marcel Admiraal
3105d9b1f3
Rename speed to velocity when it's a directional Vector
2021-12-29 15:35:26 +00:00
Hugo Locurcio
df09bc38cb
Rename Lod Threshold to Mesh Lod Threshold
...
This makes it more obvious that the setting only affects mesh LOD,
not manual (H)LOD achieved using visibility ranges.
2021-12-29 00:11:50 +01:00
Pierre-Thomas Meisels
5e0e4f209a
OSX: Add signing of directory structure in Library when exporting for OSX.
...
OSX: Add exporting of folder structure in PlugIns when exporting for OSX.
2021-12-28 14:39:42 +01:00
skyace65
155aaffa21
Fix "flip faces" description
2021-12-27 21:29:18 -05:00
kobewi
c055c912fb
Remove autocomplete_setters_and_getters setting
2021-12-27 00:48:32 +01:00
skyace65
32b4edbe4e
State that get static memory usage only works in debug
2021-12-26 15:19:14 -05:00
kobewi
f97ab4a0e4
Fix get_v_scroll() desctiption in ItemList
2021-12-24 21:10:34 +01:00
Hugo Locurcio
753754548a
Rename Variant Packed*Array constants for consistency
...
All arrays are now prefixed with `PACKED_` to distinguish them from
GDScript's generic typed arrays.
`RAW_ARRAY` is now `PACKED_BYTE_ARRAY` (RawArray was the name of
PackedByteArray back in Godot 2.x).
2021-12-24 18:44:08 +01:00
Haoyu Qiu
3ec5a5fb5c
Alpha channel indicates opacity, not transparency
2021-12-24 16:52:15 +08:00
skyace65
f10cc3d7f6
Add a link to the notifications tutorial page in the object class reference
2021-12-22 21:37:54 -05:00
Rémi Verschelde
1906b59675
Merge pull request #55636 from bruvzg/vis_char_modes
...
Add different "visible characters" behavior modes.
2021-12-23 00:43:33 +01:00
Hugo Locurcio
bf339842a5
Expose RenderingServer GI half resolution setter method
...
This is required for projects to be able to change the
GI half-resolution setting at run-time.
2021-12-22 19:38:48 +01:00
kobewi
c68e93ad52
Implement property array for OptionButton
2021-12-21 08:53:09 +01:00
bruvzg
ea5bb8b47d
[Windows] Improve console handling and execute/create_process.
...
Always build with the GUI subsystem.
Redirect stdout and stderr output to the parent process console.
Use CreateProcessW for blocking `execute` calls with piped stdout and stderr (prevent console windows for popping up when used with the GUI subsystem build, and have more consistent behavior with `create_process`).
Add `open_console` argument to the `execute` and `create_process` to open a new console window.
Remove `interface/editor/hide_console_window` editor setting.
Remove `Toggle System Console` menu option.
Remove `set_console_visible` and `is_console_visible` functions.
2021-12-18 10:14:07 +02:00
Rémi Verschelde
b0e93711b3
Merge pull request #52170 from Ansraer/2d-scale-factor
2021-12-17 20:10:29 +01:00
Ansraer
c7a03412ac
add 2d scale factor property
2021-12-17 19:19:41 +01:00
Haoyu Qiu
1fb59d13c2
Fix font preview text color on light background
2021-12-18 00:34:28 +08:00
Rémi Verschelde
c33e84fe8c
Merge pull request #55165 from Calinou/doc-gui-theme-item-focus-transparent
2021-12-16 15:39:48 +01:00
kobewi
e7722a9a7b
Mention what happens if find_node() fails
2021-12-16 13:37:54 +01:00
Rémi Verschelde
91c0529073
Merge pull request #55930 from timothyqiu/doctool-i18n
2021-12-16 13:08:53 +01:00
Yuri Roubinsky
6435d1be23
Merge pull request #55982 from Chaosus/vs_texture_filtering
2021-12-16 13:53:47 +03:00
Haoyu Qiu
e4e4e475f8
Make --doctool
locale aware
...
* Adds `indent(str)` to `String`:
* Indent the (multiline) string with the given indentation.
* This method is added in order to keep the translated XML correctly
indented.
* Moves the loading of tool/doc translation into
`editor/editor_translation.{h,cpp}`.
* This will be used from both `EditorSettings` and the doc tool from
`main`.
* Makes use of doc translation when generating XML class references, and
setup the translation locale based on `-l LOCALE` CLI parameter.
The XML class reference won't be translated if `-l LOCALE` parameter is
not given, or when it's `-l en`.
2021-12-16 17:49:22 +08:00
Fabio Alessandrelli
75ed3d74e8
Merge pull request #55747 from timothyqiu/editor-proxy
...
Add proxy support for the editor
2021-12-16 10:06:14 +01:00
Yuri Roubinsky
1eb40904ce
Add texture filtering properties to VisualShaderNodeTextureUniform
2021-12-16 11:50:33 +03:00
Max Hilbrunner
edd3ca4501
Merge pull request #55974 from skyace65/ScriptDoc
...
Clarify that the script class should not be used directly
2021-12-16 07:35:10 +01:00
skyace65
9f983eea8c
Clarify that the script class should not be used directly
2021-12-15 22:17:34 -05:00
Nathan Franke
f8f2656eab
Fix OS.get_name and OS.get_user_data_dir documentation
2021-12-15 13:56:52 -08:00
Rémi Verschelde
deb30a4108
Merge pull request #52015 from mechPenSketch/expose_hotzones2
...
Expose connection hot zones in `GraphNode`
2021-12-15 20:23:07 +01:00
Hugo Locurcio
a1ab50a9f0
Document that transparent StyleBoxes/textures should be used for UI focus
2021-12-15 18:22:39 +01:00
Rémi Verschelde
9b932aa0db
Merge pull request #55958 from timothyqiu/xml-indents
2021-12-15 17:12:56 +01:00
Haoyu Qiu
4e393ab4a0
Fix indentations in class reference XMLs
2021-12-15 22:26:54 +08:00
Haoyu Qiu
67f04b381b
Add / to the unix shortcut drive list
...
Also made `get_current_drive()` to pick the longest match on Unix.
2021-12-15 21:13:35 +08:00
Max Hilbrunner
1930fc8b31
Merge pull request #55699 from Mickeon/patch-1
...
Various tweaks to Camera2D's documentation
2021-12-15 03:39:39 +01:00
Max Hilbrunner
e8e2865f88
Merge pull request #55935 from KoBeWi/get_minimum_size_not
...
Document get_minimum_size not called in some nodes
2021-12-15 03:33:15 +01:00
Max Hilbrunner
9d81bfea74
Merge pull request #55777 from cdemirer/doc-replace_by
...
Clarify that replace_by keeps child nodes in tree
2021-12-15 03:28:37 +01:00
Max Hilbrunner
494bbcff0b
Merge pull request #55831 from Calinou/doc-reflectionprobe
...
Improve the ReflectionProbe class documentation
2021-12-15 03:23:36 +01:00
kobewi
7d5ee8f694
Document get_minimum_size not called in some nodes
2021-12-14 17:48:07 +01:00
Hugo Locurcio
e962900f23
Rename and reorder bake mode properties for consistency
...
The order now goes from least to most computationally expensive:
- Disabled
- Static
- Dynamic
2021-12-14 12:01:12 +01:00
Rémi Verschelde
26510f4c90
Merge pull request #55609 from rcorre/doc-scroll
2021-12-13 15:21:50 +01:00
Ryan Roden-Corrent
9d04086451
Document how to autoscroll ScrollContainer.
...
It is not uncommon to want to scroll to the most recently added child of
a ScrollContainer (e.g. a chat box or activity log). This is a little
tricky, since `ensure_control_visible` will not work on a node on the
same frame as you add it. Let's at least document that you need to wait
until the next frame.
Relates to https://github.com/godotengine/godot-proposals/issues/3629 .
Co-authored-by: Yuri Sizov <pycbouh@users.noreply.github.com>
2021-12-12 07:55:01 -05:00
Manolis Papadeas
453912d48d
Expose BitMap's convert_to_image
and resize
methods to GDScript
2021-12-12 14:24:04 +02:00
mechPenSketch
0449b30bbc
Expose connection hot zones in GraphNode
2021-12-12 15:20:40 +08:00
Hugo Locurcio
7e4d805d29
Improve the ReflectionProbe class documentation
2021-12-11 19:10:23 +01:00
Hugo Locurcio
5d81742dc8
Document RigidBody2D/3D and particles' angular velocity units
2021-12-11 17:38:55 +01:00
PouleyKetchoupp
940f3fde5c
Improve RigidDynamicBody force and torque API
...
Makes the API for forces and impulses more flexible, easier to
understand and harmonized between 2D and 3D.
Rigid bodies now have 3 sets of methods for forces and impulses:
-apply_impulse() for impulses (one-shot and time independent)
-apply_force() for forces (time dependent) applied for the current step
-add_constant_force() for forces that keeps being applied each step
Also updated the documentation to clarify the different methods and
parameters in rigid body nodes, body direct state and physics servers.
2021-12-10 15:55:40 -07:00
Rémi Verschelde
0ba7103bea
Merge pull request #55702 from nekomatata/physics-solver-settings
2021-12-10 22:10:41 +01:00
Rémi Verschelde
3bfdb28ab2
Merge pull request #55770 from Calinou/shader-rename-hint-aniso
2021-12-10 18:48:05 +01:00
Rémi Verschelde
bc6cd53b4d
Merge pull request #40547 from KoBeWi/directory_inspectory
2021-12-10 18:47:22 +01:00
Hugo Locurcio
92e9cca5be
Rename hint_aniso
to hint_anisotropy
in the shader language
...
The word "anisotropy" is used in full form in BaseMaterial3D's
anisotropy-related properties.
2021-12-10 17:41:17 +01:00
Tomasz Chabora
d04c2a554f
Improve Directory content navigation
2021-12-10 17:24:04 +01:00
Hugo Locurcio
b3174e7af9
Add RenderingServer.get_video_adapter_type()
method
...
This can be used to distinguish between integrated, dedicated, virtual
and software-emulated GPUs. This in turn can be used to automatically
adjust graphics settings, or warn users about features that may run
slowly on their hardware.
2021-12-10 17:10:47 +01:00
Rémi Verschelde
4f9b6d9a3f
Merge pull request #51235 from AnilBK/awkward-funcs
2021-12-10 16:58:11 +01:00
Steve Szilágyi
0c352407d8
VehicleWheel can now return the surface it's colliding with.
...
Fixed PR issues.
Update vehicle_body_3d.cpp
Apply suggestions from code review
Co-authored-by: Camille Mohr-Daurat <pouleyKetchoup@gmail.com>
2021-12-10 13:22:02 +01:00
Rémi Verschelde
3c448437f6
Merge pull request #55263 from RPicster/ParticleMaterial-random-start-color
2021-12-10 10:06:46 +01:00
cdemirer
98a3948bf9
Clarify that replace_by keeps child nodes in tree
2021-12-10 13:48:00 +08:00
Haoyu Qiu
753ae7403f
Add drag start/end signals for Slider
2021-12-10 11:19:10 +08:00
Nathan Franke
41a20171eb
align to horizontal_alignment, valign to vertical_alignment, related
2021-12-09 01:38:46 -06:00
Haoyu Qiu
5912dd2964
Add proxy support for the editor
...
* Adds proxy support for `HTTPRequest`.
* Adds `network/http_proxy/{host,port}` editor settings.
* Labeled as "HTTP Proxy" and it will be used for both HTTP and
HTTPS requests. This is the same convention as seen in Android
Studio's proxy settings.
* Makes Asset Library and Export Template Manager use proxy according to
the editor settings.
2021-12-09 11:48:16 +08:00
Rémi Verschelde
f1e3c87244
Merge pull request #55709 from raulsntos/expose_script_edit
2021-12-08 17:15:18 +01:00
Raul Santos
9535831866
Expose ScriptEditor::edit
to scripting
...
Exposes a method in `EditorInterface` to open scripts on a specified
line and column. This method handles if the internal or the external
editor should be used.
2021-12-08 15:25:05 +01:00
kobewi
347e50f73b
Improve PopupMenu doc about id and index
2021-12-08 13:02:42 +01:00
Rémi Verschelde
5cf178f3bf
Merge pull request #55694 from KoBeWi/scrollbar_modding_tools
...
ScrollContainer's scrollbar visibility is now enum
2021-12-08 09:16:57 +01:00
Hugo Locurcio
c5550108c8
Decrease the default dynamic range in VoxelGIData to 2.0
...
This reduces visible banding in indirect lighting and reflections.
Sharp reflections now match more closely the original scene.
The downside of this change is that clipping may appear in reflections
in extremely bright scenes, but this should not be a concern in most
scenes.
2021-12-08 00:28:17 +01:00
Hugo Locurcio
cf936ae0dd
Rename GPUParticles attractor and collision nodes to have a 3D suffix
...
GPUParticles attractors and collision are currently only available in 3D.
Their 2D counterparts haven't been implemented yet, but they will use
separate nodes.
2021-12-08 00:21:05 +01:00
PouleyKetchoupp
8682adcb87
Add physics solver settings to project settings
...
Helps with discovery and setup of physics solver settings, in a specific
project settings section for both 2D and 3D.
Other changes for cleanup:
-Removed unused space parameters in 3D
SPACE_PARAM_BODY_ANGULAR_VELOCITY_DAMP_RATIO
SPACE_PARAM_CONSTRAINT_DEFAULT_BIAS
-Added custom solver bias for Shape3D (same as Shape2D)
-Improved documentation for solver settings
2021-12-07 12:08:04 -07:00
Micky
6cf2623a20
Various improvements to Camera2D's documentation
...
A summary of the tweaked descriptions:
* "get_camera_position()" is explains what the camera position is, and mitigates the confusion between this method and Node2D.position;
* "get_camera_screen_center()" links to the "get_camera_position" method;
* "reset_smoothing()" links to the "smoothing_enabled" propriety;
* "drag_horizontal_offset" and "drag_vertical_offset" link to their respective _enabled_ properties;
* "limit_smoothed" links to the "smoothing_enabled" propriety;
* "rotating" clarifies that the camera _view_ rotates when enabled.
Partially closes https://github.com/godotengine/godot-docs/issues/5417 , as some of the issues described are no longer present in 4.0, or are not fully solved in this PR.
Further tweaks are welcome, as I'm afraid this could be a too verbose. A few of these could be split into their PR if necessary.
2021-12-07 19:01:01 +01:00
kobewi
841a9ef820
ScrollContainer's scrollbar visibility is now enum
2021-12-07 18:27:12 +01:00
Rémi Verschelde
46d384060e
Merge pull request #35901 from nathanfranke/pool-byte-array-subarray-exclusive
2021-12-07 14:00:59 +01:00
Rémi Verschelde
3ed2bd13ad
Merge pull request #55670 from akien-mga/rename-videoplayer
2021-12-07 09:24:35 +01:00
Aaron Franke
6eb7179f1c
Rename "items_count" property to "item_count"
2021-12-06 22:02:27 -06:00
Rémi Verschelde
7ac9ea75cc
Rename VideoPlayer
to VideoStreamPlayer
for consistency
...
It's a player for `VideoStream` resources, just like `AudioStreamPlayer` is a
player for `AudioStream` resources.
Closes https://github.com/godotengine/godot-proposals/issues/3624 .
2021-12-06 19:01:28 +01:00
Rémi Verschelde
75ac048e4b
Merge pull request #55662 from KoBeWi/update_minimum_size_changed_to_update_minimum_size
2021-12-06 18:28:46 +01:00
Rémi Verschelde
e11baf90d1
Merge pull request #55666 from KoBeWi/reduce_ProximityGroup3D_to_atoms
2021-12-06 18:14:17 +01:00
Rémi Verschelde
e1e3ea5978
Merge pull request #55667 from Calinou/doc-physics-ticks-per-rendered-frame
2021-12-06 17:03:55 +01:00
kobewi
30e1478d0f
Remove ProximityGroup3D node
2021-12-06 17:01:51 +01:00
Rémi Verschelde
4bce5e302e
Merge pull request #55602 from nekomatata/improve-rigidbody-contacts
2021-12-06 16:49:42 +01:00
Hugo Locurcio
9e6b1b16c6
Document physics simulation being limited to 8 ticks per rendered frame
2021-12-06 16:39:33 +01:00
Fabio Alessandrelli
3ae8eda1ed
Merge pull request #55603 from Calinou/add-os-crash-method
...
Add an `OS.crash()` method for testing system crash handler
2021-12-06 16:34:15 +01:00
kobewi
6a2938471b
Rename TouchScreenButton's textures
2021-12-06 15:46:05 +01:00
Max Hilbrunner
78fd56a596
Merge pull request #55500 from KoBeWi/just_doc_things
...
Misc improvements to various docs
2021-12-06 15:34:21 +01:00
Rémi Verschelde
1f5a3ba0ba
Merge pull request #55661 from KoBeWi/joys_of_connection
2021-12-06 14:03:01 +01:00
kobewi
ea7cc1dea9
Rename minimum_size_changed() method
2021-12-06 14:02:34 +01:00
Rémi Verschelde
5baf20e638
Merge pull request #34005 from aaronfranke/minmax
2021-12-06 14:01:45 +01:00
Rémi Verschelde
608c9f8203
Merge pull request #47257 from timothyqiu/http-client-proxy
2021-12-06 13:30:53 +01:00
kobewi
cb2bdcd286
Unexpose joy_connection_changed method
2021-12-06 13:10:17 +01:00
bruvzg
ad4408d413
Add different "visible characters" behavior modes.
2021-12-06 12:14:49 +02:00
Max Hilbrunner
b8ebe3b0bf
Merge pull request #55652 from OverloadedOrama/patch-1
...
Fix link to the supported image formats in the Image class
2021-12-06 02:20:08 +01:00
Manolis Papadeas
c01c4c687b
Fix link to the supported image formats in the Image class
...
It previously linked to this page which doesn't exist. https://docs.godotengine.org/en/latest/getting_started/workflow/assets/importing_images.html#supported-image-formats
Now, it should link here: https://docs.godotengine.org/en/latest/tutorials/assets_pipeline/importing_images.html#supported-image-formats
2021-12-06 00:01:19 +02:00
Hugo Locurcio
8c0f9b18d7
Document SceneTreeTimer being freed automatically when elapsed
...
The note was present in the SceneTree `create_timer()` class
documentation, but not in the SceneTreeTimer class documentation.
2021-12-05 18:40:28 +01:00
Rémi Verschelde
49799ab454
Merge pull request #55559 from pycbouh/docs-overridden-cross-linked
2021-12-05 18:37:19 +01:00
kobewi
7f6ab0006d
Bind column_titles_visible as property
2021-12-05 02:55:38 +01:00
Hugo Locurcio
5761b90f3c
Add an OS.crash()
method for testing system crash handler
...
This makes it possible to test the system's crash handler without
having to modify engine code or exploit an engine bug.
2021-12-03 22:11:46 +01:00
PouleyKetchoupp
2273a78af1
Update space parameters in 2D and 3D
...
Clarified space parameters for contacts and added missing ones.
List of changes:
-Add contact bias to space parameters
-Add solver iterations to space parameters, instead of a specific
physics server function
-Renamed BODY_MAX_ALLOWED_PENETRATION to CONTACT_MAX_ALLOWED_PENETRATION
to make it consistent with other contact parameters
2021-12-03 12:01:38 -07:00
Yuri Sizov
b3992f7e6e
Make overridden properties link to parent definition
...
Co-authored-by: Josh DeGraw <joshmdegraw@gmail.com>
2021-12-03 17:47:22 +03:00
Rémi Verschelde
aaabc0abcc
Merge pull request #55520 from pycbouh/docs-sort-group-newline-theme-and-enums
2021-12-03 15:29:29 +01:00
Raffaele Picca
ddf82697d7
Random initial color parameter for ParticleMaterial
...
Works with 2D and 3D GPU Particles
2021-12-03 13:58:17 +01:00
Yuri Roubinsky
c033ed21b0
Merge pull request #55576 from Chaosus/vs_new_int_ops
...
Add bitwise operators to `VisualShaderNodeIntOp`
2021-12-03 14:46:33 +03:00
Rémi Verschelde
acb6d1b0af
Merge pull request #55578 from madmiraal/fix-55561
2021-12-03 12:12:45 +01:00
Yuri Roubinsky
b12fea5b52
Add bitwise operators to VisualShaderNodeIntOp
2021-12-03 12:48:35 +03:00
Rémi Verschelde
64934d755b
Merge pull request #54833 from KoBeWi/it's_a_trap
2021-12-03 10:10:23 +01:00
Marcel Admiraal
6e6d689ed6
Allow any kind of Mesh to be added to an EditorNode3DGizmo
2021-12-03 08:52:07 +00:00
Aaron Franke
24f57886d0
Expose max_axis_index and max_axis_index for Vector2(i)
...
Some cleanup with Vector3(i)'s methods so that it is consistent with Vector2, for example it returns enums internally (GDScript still gets ints).
2021-12-02 23:45:41 -06:00
Rémi Verschelde
1f666a972f
NavigationMeshInstance: Fix typo to 'vertices'
2021-12-03 01:54:15 +01:00
Rémi Verschelde
543462eb29
Merge pull request #55294 from ConteZero/text_edit_drag_and_drop
...
Add drag and drop to TextEdit
2021-12-02 23:19:53 +01:00
ConteZero
0699941f07
Add drag and drop to TextEdit
2021-12-02 22:00:07 +01:00
Rémi Verschelde
8bb0f2aff1
Merge pull request #52916 from aaronfranke/no-default-env
...
Remove `default_env.tres` from generating in new projects
2021-12-02 21:12:12 +01:00
Rémi Verschelde
8f00625824
Merge pull request #54910 from Calinou/basematerial3d-texture-auto-roughness-metallic
...
Set roughness/metallic to 1 when assigning a texture in BaseMaterial3D
2021-12-02 21:11:32 +01:00
Rémi Verschelde
3f1a8e2f77
Merge pull request #55545 from akien-mga/doc-aabb-has_point
...
AABB: Improve docs and test for `has_point`
2021-12-02 21:10:53 +01:00
kobewi
09b1fc1956
Improve store_string() description
2021-12-02 18:37:25 +01:00