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
Raffaele Picca
76e2c87f57
Fixed sphere emission shape to emit particles in a spheres volume and added "Sphere Surface" to keep the old behaviour.
2021-12-06 20:48:02 +01: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
Rémi Verschelde
ced07100d7
Merge pull request #53287 from Chaosus/sprite3d_fix
2021-12-02 16:23:33 +01:00
Rémi Verschelde
2017590ef6
AABB: Improve docs and test for has_point
...
Contrarily to the 2D Rect2i counterpart, it doesn't make much sense in 3D
and for floating-point AABBs to exclude points on some of its faces.
2021-12-02 15:45:55 +01:00
Max Hilbrunner
837e6bdf18
Merge pull request #37626 from aaronfranke/rect2-warnings
...
Print warnings when using a Rect2 or AABB with a negative size
2021-12-02 14:41:02 +01:00
Rémi Verschelde
1b66123207
Merge pull request #55537 from timothyqiu/doc-code-tag
2021-12-02 11:20:29 +01:00
Rémi Verschelde
153c3df6a5
Merge pull request #55330 from Calinou/doc-voxelgidata
2021-12-02 10:19:14 +01:00
Haoyu Qiu
85c136bd07
Fix various misused code tag in classref
2021-12-02 17:08:52 +08:00
Rémi Verschelde
02d6cbfd8c
Merge pull request #38604 from Calinou/astar-rename-get-point-ids
2021-12-02 09:35:57 +01:00
Raul Santos
a367378f9e
Rename Vector parameters to be consistent
...
Renames parameters that were named differently across different
scripting languages or their documentation to use the same name
everywhere.
2021-12-01 21:14:46 +01:00
Yuri Sizov
397e56964d
Sort and group theme properties in docs, improve formatting for theme and enums
2021-12-01 21:02:20 +03:00
Aaron Franke
9687f6fca3
Warn when using an AABB or Rect2 with a negative size
2021-11-30 18:27:58 -06:00
kobewi
244c5ecc64
Misc improvements to various docs
2021-11-30 23:53:58 +01:00
Hugo Locurcio
89849a9ed9
Rename AStar.get_points()
to AStar.get_point_ids()
for clarity
...
The same has been done for AStar2D as well.
2021-11-30 22:14:39 +01:00
Michael Alexsander
ec4f4c6cda
Rename all methods that return ScrollBar
nodes to get_*_scroll_bar()
2021-11-30 13:46:36 -03:00
Rémi Verschelde
75d1ae4dac
Merge pull request #55427 from zacryol/tab-container-clarify
2021-11-30 10:56:13 +01:00
zacryol
5c645d510f
Clarify usage of TabContainer
...
Makes it more clear that TabBar is separate from TabContainer, and that the container draws the tabs itself.
2021-11-29 18:01:09 -07:00
Rémi Verschelde
9d3875dde7
Merge pull request #55408 from madmiraal/fix-54517
2021-11-29 17:30:13 +01:00
Hugo Locurcio
1b59818fb3
Remove redundant SpriteBase3D opacity
property
...
The `opacity` property is superseded by the GeometryInstance3D
`transparency` property. It works the opposite way (0.0 is opaque,
1.0 is fully transparent), but provides the same behavior in a more
universal manner.
2021-11-29 16:13:55 +01:00
Hugo Locurcio
4868331897
Document using SpriteBase3D's modulate
property with material override
2021-11-29 16:07:21 +01:00
Marcel Admiraal
272b3c3728
Enable sorting of operator methods in class documentation.
2021-11-29 14:51:44 +00:00
Rémi Verschelde
69a194f051
Merge pull request #55239 from zacryol/find-world-2d-description-fix
...
Fix description of Viewport `find_world_2d()` method.
2021-11-28 10:37:14 +01:00
zacryol
81c1d5197e
Fix description of Viewport find_world_2d()
method.
...
The doc now states that the method searches for a World2D among ancestor Viewports as well, differentiating it from the get_world_2d() getter.
and also find_world_3d()
2021-11-27 13:49:03 -07:00
Hugo Locurcio
989a7d9270
Allow disabling the depth prepass in the Vulkan Clustered backend
...
In scenes that have little to no overdraw, disabling the depth prepass
can give a small performance boost. Nonetheless, in most other scenarios,
the depth prepass should be left enabled as it improves performance
significantly.
2021-11-27 17:54:45 +01:00
Nathan Franke
dd30253cdc
PackedByteArray, Array slice end exclusive, rename subarray to slice
2021-11-26 22:13:12 -06:00
kleonc
4038bc0c36
Fix Image.blit_rect/blend_rect()
for negative p_dest
point
2021-11-26 22:23:04 +01:00
Hugo Locurcio
3135c6f03e
Emit node configuration warnings for GeometryInstance3D distance fade
...
The visibility range begin/end margin properties must be set above 0.0
for the fade transition to be visible.
2021-11-26 21:46:32 +01:00
Aaron Franke
7a096b216e
Remove default_env.tres from generating in new projects
2021-11-26 14:37:27 -06:00
Hugo Locurcio
97f124b069
Document the VoxelGIData resource
...
This companion resource to VoxelGI has many useful settings to tweak.
2021-11-26 00:12:39 +01:00
Max Hilbrunner
a6a2e0feb9
Merge pull request #52387 from Calinou/node-rename-path-changed-notification
...
Rename Node's `NOTIFICATION_PATH_CHANGED` to `NOTIFICATION_PATH_RENAMED`
2021-11-25 17:47:44 +01:00
Yuri Roubinsky
ce48604eb7
Enchance descriptions of @GlobalScope/@GDScript
2021-11-25 14:24:09 +03:00
Rémi Verschelde
547c270777
Merge pull request #51679 from Je06jm/fsr
...
AMD FidelityFX Super Resolution
2021-11-24 22:34:48 +01:00
Rémi Verschelde
b1bf82d2b4
Merge pull request #52456 from kleonc/image-fill-rect
2021-11-24 16:34:01 +01:00
Haoyu Qiu
c09ea8d45a
Adds proxy support for HTTPClient
...
Also fixed a potential infinite loop when connecting to server.
2021-11-24 14:36:42 +08:00
Lightning_A
e078f970db
Rename remove()
to remove_at()
when removing by index
2021-11-23 18:58:57 -07:00
Je06jm
20deb0917d
Implemented AMD's FSR as a computer shader for upscaling 3D scenes
2021-11-23 14:16:03 -07:00
kleonc
91595b16e3
Add Image::fill_rect method
2021-11-23 18:06:23 +01:00
Rémi Verschelde
8a48440dbf
Merge pull request #55259 from KoBeWi/no_easy_ease
2021-11-23 16:51:14 +01:00
Rémi Verschelde
3ba2d17d2f
Merge pull request #54949 from Chaosus/fix_warning
2021-11-23 15:15:36 +01:00
Rémi Verschelde
0cec0d3517
Merge pull request #55257 from KoBeWi/replace_by_void
2021-11-23 14:47:55 +01:00
kobewi
44e6655924
Correct the doc about ease()
2021-11-23 14:32:43 +01:00
Rémi Verschelde
c7007f83d5
Merge pull request #55243 from KoBeWi/some_random_stuff_idk
2021-11-23 13:41:35 +01:00
kobewi
58a3ea5453
Mention that replace_by doesn't free the node
2021-11-23 12:53:31 +01:00
kobewi
4682f22293
Improve various texts
2021-11-23 12:20:57 +01:00
Rémi Verschelde
a8c305acfa
Merge pull request #55251 from bruvzg/is_physical_key_pressed
2021-11-23 11:41:35 +01:00
Rémi Verschelde
94959cb16b
Merge pull request #47567 from Calinou/add-boot-splash-image-setting
2021-11-23 10:50:15 +01:00
bruvzg
9877d91c4a
Add Input.is_physical_key_pressed method.
2021-11-23 11:14:19 +02:00
Hugo Locurcio
3f34832dba
Add a project setting to disable the boot splash image
...
This allows disabling the boot splash image while keeping the
background color.
2021-11-23 02:20:25 +01:00
Hugo Locurcio
f8d9e4afdb
Document the engine's use of internal groups in Node
2021-11-23 01:09:13 +01:00
Rémi Verschelde
76aa1d0a43
Merge pull request #55151 from Chaosus/control_reset_size
2021-11-22 16:22:57 +01:00
Yuri Roubinsky
eabf8f5edf
Added reset_size
method to Control
and Window
classes
2021-11-22 16:55:21 +03:00
Rémi Verschelde
29a2561f77
Merge pull request #55217 from KoBeWi/get_property_and_property
2021-11-22 14:52:45 +01:00
kobewi
4ea6709558
Clarify get_indexed in relation to Nodes
2021-11-22 13:21:45 +01:00
Yuri Sizov
e85e6ec7fc
Add methods to get position from column and line in TextEdit
2021-11-22 15:13:13 +03:00
Rémi Verschelde
70d530029a
Merge pull request #55171 from dalexeev/font-data-set-fixed-size
2021-11-22 12:23:41 +01:00
Rémi Verschelde
78dbe4e3e4
Merge pull request #54339 from ConteZero/line_edit_drag_and_drop
2021-11-22 12:20:01 +01:00
clayjohn
7ba555dada
Convert PhysicalSkyMaterial colors to SRGB
2021-11-21 12:26:29 -08:00
Danil Alexeev
753d677343
Expose FontData::{set,get}_fixed_size
methods
2021-11-20 20:47:01 +03:00
Rémi Verschelde
be16eb625b
Merge pull request #54932 from briansemrau/expose-main-thread-id
2021-11-20 10:48:46 +01:00
Rémi Verschelde
4a4b363da1
Merge pull request #55092 from KoBeWi/thelp_item
...
Add [theme_item] tag to editor help
2021-11-18 17:39:17 +01:00
Rémi Verschelde
395558c021
Merge pull request #54462 from Paulb23/the-last-hidden-line
2021-11-18 15:56:06 +01:00
kobewi
6f929395d9
Add [theme_item] tag to editor help
2021-11-18 15:32:23 +01:00
Paulb23
2a302f7097
Fix TextEdit mouse interactions when the last line is hidden
2021-11-17 18:29:19 +00:00
Paulb23
eb9100f085
Fix divide by zero in pck_packer
2021-11-17 18:07:29 +00:00
Rémi Verschelde
f9b4547abd
Merge pull request #55054 from KoBeWi/marginalized_icon
2021-11-17 13:54:53 +01:00
kobewi
2341c7bbd9
Mention how to add margins to Button's icon
2021-11-17 12:50:25 +01:00
Yuri Roubinsky
a74acca858
Expose randfn
to global scope
2021-11-17 14:29:19 +03:00
Nathan Lovato
a5d0a74b65
Make bezier handle type a property of keyframes, update interface
...
- Replaced unused code related to old close icon with a button
- Add bezier handle options to right-click menu
- Remove mirror handle mode, only keep balanced
- Update animation reference
2021-11-16 09:26:35 -05:00
Rémi Verschelde
471e7cbfc7
Merge pull request #54581 from aaronfranke/operator-docs
2021-11-16 14:10:09 +01:00
ConteZero
2b1787b446
Fix drag and drop on LineEdit
2021-11-15 17:10:56 +01:00
Rémi Verschelde
d7190e04ed
Merge pull request #54991 from akien-mga/dehardcode-docs-branch-url
2021-11-15 14:04:00 +01:00
Rémi Verschelde
4b09e34275
Merge pull request #54952 from Calinou/doc-editorpaths
2021-11-15 14:03:38 +01:00
Hugo Locurcio
7840080244
Document the EditorPaths class
2021-11-15 13:14:16 +01:00
Rémi Verschelde
6c1bd4d227
Replace Godot docs URL with $DOCS_URL
in XML class reference
2021-11-15 13:02:21 +01:00
Rémi Verschelde
d975b1bc37
Merge pull request #43072 from KoBeWi/point_to_angle
2021-11-15 09:56:21 +01:00
Rémi Verschelde
b6c002f32d
Merge pull request #54981 from Calinou/doc-gi
2021-11-15 08:35:25 +01:00
Hugo Locurcio
f50aeb531b
Improve documentation related to global illumination
2021-11-14 23:48:12 +01:00
reduz
cd2a499084
Add path to functions that return iporter options
...
-Allows displaying custom options for specific file format variants
-Added support for scene format import to retrieve custom options
This PR is necessary for #54886 to be implemented properly.
2021-11-14 14:06:10 -03:00
Yuri Roubinsky
3396b25489
Allow using built-in names for variables, push warnings instead
2021-11-13 21:47:24 +03:00
Hugo Locurcio
bad74311db
Set roughness/metallic to 1 when assigning a texture in BaseMaterial3D
...
This makes material setup faster and avoids mistakes, especially with
the metallic channel which defaults to 0.
The value is only changed when adding a texture when none was
previously assigned, not when assigning a different texture.
2021-11-13 17:46:22 +01:00
Brian Semrau
c558263d84
Expose Thread::get_main_id in core bindings
2021-11-12 19:28:49 -05:00
Rémi Verschelde
19571c9c4b
Merge pull request #54928 from KoBeWi/sorting_vegetables
2021-11-13 00:19:28 +01:00
kobewi
f529a58f10
Improve sort_custom() example
2021-11-12 23:18:33 +01:00
Aaron Franke
3c0fdcc8ac
Use "enum class" for input enums
2021-11-12 15:37:54 -06:00
Camille Mohr-Daurat
74facb6d39
Merge pull request #54803 from goostengine/shape-cast-2d
...
Add `ShapeCast2D` node
2021-11-12 13:28:44 -07:00
Andrii Doroshenko (Xrayez)
6a67350910
Remove get_closest_*
methods from ShapeCast2D
...
The physics API cannot provide needed functionality to ensure the correct behavior, which might lead to confusion (see `rest_info()`).
However `get_closest_collision_safe/unsafe_fraction()` methods are not removed, because they return correct result from `cast_motion()`.
2021-11-12 21:30:35 +02:00
Andrii Doroshenko (Xrayez)
f979d5977a
Add ShapeCast2D
node
2021-11-12 21:29:30 +02:00
Gilles Roudière
1224d7a25c
Implement texture padding in TileSetAtlasSources
2021-11-12 15:14:10 +01:00
Rémi Verschelde
a54bd6e868
Merge pull request #53914 from Chaosus/shader_default_texture_param
2021-11-12 12:23:34 +01:00
Yuri Roubinsky
826e781bfa
Fix default_texture_param in shader pipeline to support uniform arrays
2021-11-12 12:53:40 +03:00
Rémi Verschelde
1775933069
Merge pull request #54900 from benjarmstrong/output_latency_docs_fix
2021-11-12 09:59:09 +01:00
Max Hilbrunner
90f508eadb
Merge pull request #54872 from akien-mga/rect2-has_point-borders
...
Rect2: Clarify docs for `has_point` excluding bottom and right borders
2021-11-12 09:10:52 +01:00
Benjamin Armstrong
1e485a7da8
Clarify how 'audio/driver/output_latency' project setting works
2021-11-12 16:14:42 +11:00
Camille Mohr-Daurat
11e03ae7f0
Merge pull request #54810 from nekomatata/area-separate-override-modes
...
Separate space override modes for gravity/damping in Area
2021-11-11 15:11:21 -07:00
Rémi Verschelde
36c4451a7b
Rect2: Clarify docs for has_point
excluding bottom and right borders
...
Improve tests, as well as documentation for `expand`.
2021-11-11 22:51:29 +01:00
Rémi Verschelde
86460db231
Merge pull request #54857 from nekomatata/raycast-hit-from-inside
2021-11-11 18:22:53 +01:00
Rémi Verschelde
e2e9b08cc7
Color: Bind from_hsv
as static method
2021-11-11 11:50:02 +01:00
boruok
ff66df67fd
fixed typo in NavigationPolygon doc
2021-11-11 15:59:17 +09:00
PouleyKetchoupp
c3ae7ddedd
Add raycast options to hit when starting inside / hit back faces
...
Makes the results consistent for all shape types with options to set
the desired behavior.
2021-11-10 17:43:35 -07:00
Rémi Verschelde
68664c0239
Merge pull request #54836 from pycbouh/inspector-plugins-fixes-and-groups
2021-11-10 22:06:30 +01:00
Rémi Verschelde
7b3abf17fd
Merge pull request #49708 from megalobyte/editor_description_fix
2021-11-10 21:56:20 +01:00
Rémi Verschelde
3668312e78
Merge pull request #54847 from nekomatata/fix-test-move-regression
2021-11-10 20:38:49 +01:00
Rémi Verschelde
a6412e132a
Merge pull request #54660 from Chaosus/vs_particles_mesh_emitter
2021-11-10 19:55:25 +01:00
megalobyte
e3def40160
Update editor description property flag
2021-11-10 13:44:54 -05:00
PouleyKetchoupp
5da057adaf
Fix test_move reporting collision when touching another body
...
Reporting rest collision information is needed for move_and_collide and
move_and_slide so floor detection can be done properly, but in the case
of just testing the motion for collision, it makes sense to return false
if the body is able to move all along the path without being stopped.
Updated the logic in test_move and clarified the documentation for
test_move and move_and_collide.
2021-11-10 11:20:02 -07:00
Rémi Verschelde
d209369fa3
Merge pull request #54840 from Calinou/mono-move-exception-policy-setting
2021-11-10 18:33:18 +01:00
Rémi Verschelde
c5a99a2056
Merge pull request #54820 from nekomatata/fix-character-body-floor-errors
2021-11-10 17:53:44 +01:00
Hugo Locurcio
a9a45ee7ee
Move Mono unhandled exception setting to be located within a subsection
...
Settings that aren't within a subsection are difficult to reach when
other settings do have a subsection.
This also adds documentation for the project setting.
2021-11-10 17:31:54 +01:00
PouleyKetchoupp
bfd0d33244
Fix errors in CharacterBody when floor is destroyed or removed
...
In all physics servers, body_get_direct_state() now silently returns
nullptr when the body has been already freed or is removed from space,
so the client code can detect this state and invalidate the body rid.
In 2D, there is no change in behavior (just no more errors).
In 3D, the Bullet server returned a valid direct body state when the
body was removed from the physics space, but in this case it didn't
make sense to use the information from the body state.
2021-11-10 08:27:33 -07:00
Yuri Sizov
2e4d18c929
Fix EditorInspectorPlugin virtual bindings and add parse_group callback
2021-11-10 17:56:59 +03:00
Rémi Verschelde
f253f7b6e6
VisualShader: Document enum args for virtual methods
...
Fixes #31563 .
2021-11-10 13:22:58 +01:00
Rémi Verschelde
06a33e590f
Merge pull request #53819 from TokageItLab/re-implement-ping-pong
...
Reimplement ping-pong animation and reverse playback
2021-11-09 22:11:04 +01:00
PouleyKetchoupp
3d1c123d45
Separate space override modes for gravity/damping in Area
...
Also make inspector clearer for gravity point properties.
2021-11-09 10:29:24 -07:00
Tomasz Chabora
606cfa9a47
Fix Vector2.angle_to_point() being reversed
2021-11-09 16:59:58 +01:00
Rémi Verschelde
bc6ec58456
Merge pull request #47600 from qarmin/enable_mono_editor
2021-11-09 12:13:11 +01:00
qarmin
071829acc5
Enable mono editor build in CI
2021-11-09 11:02:04 +01:00
bruvzg
294e48ae58
Move BMFont parser code from importer to the FontData to allow loading bitmap fonts in the runtime (without importing).
2021-11-09 10:41:45 +02:00
Camille Mohr-Daurat
c6062cd93e
Merge pull request #54134 from nekomatata/body-center-of-mass-local
...
Expose local center of mass in physics servers
2021-11-08 18:44:51 -07:00
PouleyKetchoupp
fc8c766ef9
Expose local center of mass in physics servers
...
Center of mass in body's local space is more useful than the transformed
one in some cases, like drawing its position for debug.
It's especially useful to get the generated local center of mass when
in auto mode (by default).
Physics Server BODY_PARAM_CENTER_OF_MASS:
Now always returns the local center of mass, instead of setting a local
center of mass and getting a transformed one.
This causes compatibility breaking, but it makes more sense for the
parameter to be consistent between getter and setter.
Direct Body State:
There are now two properties, because both of them can be useful in
different situations.
center_of_mass: relative position in global coordinates (same as before)
center_of_mass_local: position in local coordinates
2021-11-08 16:17:57 -07:00
Rémi Verschelde
5968653662
Merge pull request #46721 from bruvzg/custom_word_break_punct
2021-11-09 00:13:59 +01:00
Rémi Verschelde
d9a74fd07f
Merge pull request #54372 from bruvzg/text_edit_ui
2021-11-09 00:13:25 +01:00
Rémi Verschelde
6c4737341d
Merge pull request #54649 from bruvzg/shadows
2021-11-09 00:07:41 +01:00
Hendrik Brucker
ed0337c0b9
Several Gradient improvements
2021-11-08 19:11:36 +01:00
Rémi Verschelde
665fa3d839
Merge pull request #52943 from RandomShaper/property_pin_control_natural
2021-11-08 18:53:08 +01:00
Pedro J. Estébanez
8d6f80d367
Add property value pinning
2021-11-08 17:42:30 +01:00
Andrii Doroshenko (Xrayez)
6742a338a8
Rename GradientTexture
to GradientTexture1D
...
1. Explicit and unambiguous when comparing to `GradientTexture2D`
2. Consistent with other class names where 1D is used in the engine.
2021-11-07 15:11:04 +02:00
clayjohn
0eff109a21
Added SSIL post processing effect
2021-11-06 12:43:19 -07:00
Hugo Locurcio
91aa7cf1da
Decrease the default VoxelGI quality to improve performance
...
On a GeForce GTX 1080 in 2002×1447 resolution, decreasing VoxelGI quality
from High to Low quality saves 1.2 ms of GPU time in a medium-sized
test scene. This only results in a minor drop in quality.
2021-11-06 19:40:52 +01:00
Max Hilbrunner
4651b2ae5c
Merge pull request #54417 from Anutrix/global-scope-doc-updates
...
Added or improved function description and codeblocks in @GlobalScope.xml
2021-11-06 17:38:49 +01:00
Yuri Roubinsky
80b563672b
Added MeshEmitter
node for particles in visual shader
2021-11-06 17:45:38 +03:00
Anutrix
4212924fb7
Added or improved function description and codeblocks in @GlobalScope.xml
2021-11-06 19:47:54 +05:30
bruvzg
5f9cd9ccbc
Fix Label and RichTextLabale text shadows and shadow outlines.
2021-11-06 10:22:09 +02:00
Brian Semrau
dc11e73bf0
Rename AABB get_area
to get_volume
2021-11-05 18:22:42 -04:00
Rémi Verschelde
13aaa73124
Merge pull request #54573 from nekomatata/query-parameters
2021-11-05 21:52:39 +01:00
Rémi Verschelde
56cfebbe98
Merge pull request #54599 from Chaosus/vs_particles_2d_emitters
2021-11-05 12:01:36 +01:00
Yuri Roubinsky
dcdf59cd73
Added 2D boolean hint for particle emitters in visual shaders
2021-11-05 12:45:57 +03:00
Brian Semrau
ac24070056
Use Callable in RS::request_frame_drawn_callback
2021-11-05 01:59:38 -04:00
Aaron Franke
813466b3c8
Add documentation to operators for math types
...
Co-authored-by: Raul Santos <raulsntos@gmail.com>
2021-11-04 14:44:55 -05:00
PouleyKetchoupp
acbd24ea84
Use parameter classes instead of arguments for all physics queries
...
Same as what is already done for shape queries, applied to point and ray
queries. Easier to document and more flexible to add more parameters.
Also expose intersect_point method to script in 3D.
Remove intersect_point_on_canvas in 2D, replaced with a parameter.
2021-11-04 11:44:39 -07:00
Hugo Locurcio
e3d23d444c
Improve description for BitMap.grow_mask()
2021-11-04 19:05:19 +01:00
Rémi Verschelde
fca3cd2151
Merge pull request #54568 from Gustavobb/docs-input-screen-drag
2021-11-04 16:34:37 +01:00
Rémi Verschelde
a0588685bb
Fixup documentation after 3abb5a9
2021-11-04 16:31:58 +01:00
Hugo Locurcio
c012fbc8b2
Rename PROPERTY_USAGE_NOEDITOR
to PROPERTY_USAGE_NO_EDITOR
...
This is consistent with other constants that include `NO`,
such as `PROPERTY_HINT_COLOR_NO_ALPHA`.
2021-11-03 23:06:17 +01:00
Gustavo Beltrão Braga
76c50928a1
Change description of relative field in input drag event.
2021-11-03 17:29:12 -03:00
Rémi Verschelde
f00ba792b3
Merge pull request #54533 from rafallus/menubutton_items
2021-11-03 17:33:11 +01:00
rafallus
4554892223
Implement inspector property array for PopupMenu
and MenuButton
2021-11-03 09:32:29 -06:00
Rémi Verschelde
87ddc5bbbf
Merge pull request #54104 from Scony/improve-navigation-obstacles
...
Improve NavigationObstacle3D usability
2021-11-03 10:13:53 +01:00
Silc 'Tokage' Renew
953a7bce7e
reimplement ping-pong
2021-11-03 13:39:33 +09:00
Rémi Verschelde
81c93caf02
Merge pull request #54471 from rafallus/callable_area_monitor
2021-11-02 23:20:41 +01:00
Rémi Verschelde
63d4ac2a3c
Merge pull request #54509 from pycbouh/editor-resource-picker-edit
2021-11-02 13:36:29 +01:00
Rémi Verschelde
ab6ec9310c
Merge pull request #54453 from KoBeWi/slice_of_string
2021-11-02 13:18:34 +01:00
Yuri Sizov
67cbca341a
Add a flag to EditorResourcePicker to differentiate selection contexts
2021-11-02 14:35:15 +03:00
kobewi
e5725c7deb
Expose String.get_slice
2021-11-02 11:24:07 +01:00
rafallus
770e3a8e51
Use Callable
in Area monitor callback
2021-11-01 21:53:17 -06:00
Max Hilbrunner
455e027725
Merge pull request #54438 from Laelaps9/patch-1
...
Fix area_shape_exited's description
2021-11-02 02:01:27 +01:00
Emmanuel Leblond
795cd2eb38
Merge pull request #35816 from touilleMan/dictionary-operator==-true-comparison
...
Modify Array/Dictionary::operator== to do real key/value comparison
2021-11-02 00:00:38 +01:00
Rémi Verschelde
29a66f7b04
Merge pull request #54491 from Calinou/project-manager-fix-vulkan-choice
...
Fix new projects always being created with OpenGL
2021-11-01 23:07:21 +01:00
Rémi Verschelde
5945f43cc8
Merge pull request #54391 from DavidSichma/doc_interpolate_value
2021-11-01 22:38:42 +01:00
Hugo Locurcio
665d29c16d
Fix new projects always being created with OpenGL
...
Only Vulkan is fully implemented for now, so OpenGL isn't available
in the project manager yet.
This also makes the rendering driver checks use lowercase names
everywhere for consistency.
2021-11-01 22:04:36 +01:00
Camille Mohr-Daurat
a57de3b818
Merge pull request #37880 from nekomatata/rigid-body-damping-override
...
Improved RigidDynamicBody linear/angular damping override
2021-11-01 11:24:01 -07:00
bruvzg
0b6b8427c8
[macOS] Add create_instance
function to spawn editor copies.
...
[macOS] Modify `create_project` function to detect and run app bundles using NSWorkspace to ensure app window is registered and activated correctly.
2021-11-01 11:48:23 +02:00
Rémi Verschelde
1dd742777a
Merge pull request #53452 from aaronfranke/who-let-the-docs-out
2021-10-31 23:18:32 +01:00
Clay John
8a10bb7d0d
Use OpenGL 3.3 core profile instead of compatibility profile
...
- Rename OpenGL to GLES3 in the source code per community feedback.
- The renderer is still exposed as "OpenGL 3" to the user.
- Hide renderer selection dropdown until OpenGL support is more mature.
- The renderer can still be changed in the Project Settings or using
the `--rendering-driver opengl` command line argument.
- Remove commented out exporter code.
- Remove some OpenGL/DisplayServer-related debugging prints.
2021-10-31 15:56:45 +01:00
bruvzg
3f33e1d7d6
Add functions for getting name and font style from dynamic and bitmap fonts.
...
Add font selection toolbar editor plugin.
2021-10-31 12:40:58 +02:00
Laelaps9
7f691f060e
Fix area_shape_exited's description
...
area_shape_entered and area_shape_exited had the exact same description. Changed area_shape_exited's description to specify that the signal is emitted when another area's shape exits rather than enters this area's shapes.
2021-10-30 16:59:10 -05:00
Emmanuel Leblond
ce47ce8efb
Correct CodeEdit documentation mentioning parent property due to incorrect array comparison
2021-10-30 13:19:46 +02:00
Hugo Locurcio
ce97ddbcb1
Rename GLES2 driver to OpenGL to prepare for the upgrade to GLES3
...
- Use lowercase driver names for the `--rendering-driver`
command line argument.
2021-10-30 02:05:49 +02:00
Hugo Locurcio
2ad6e11b78
Don't store and show current file/directory/path FileDialog properties
...
These properties are only useful at run-time, so they don't need
to be displayed in the editor and stored.
2021-10-29 20:16:45 +02:00
Aaron Franke
6772ebcea0
Move the docs for constructors and operators out of methods section
2021-10-29 12:34:57 -05:00
Max Hilbrunner
d046817536
Merge pull request #54390 from Anutrix/collide-shape-doc
...
Added collide_shape return type info to PhysicsDirectSpaceState2D docs
2021-10-29 18:02:46 +02:00
Yuri Roubinsky
bc171971dd
Merge pull request #53234 from Geometror/gradient-texture-2d
2021-10-29 18:59:40 +03:00
David Sichma
b9c7c52a29
Fixed Tween::interpolate_value argument order.
2021-10-29 17:29:28 +02:00
Anutrix
5f69a29143
Added collide_shape return type info to PhysicsDirectSpaceState2D docs
2021-10-29 20:44:57 +05:30
Max Hilbrunner
82f88f5d56
Merge pull request #54340 from aaronfranke/time-doc
...
Update and fix Time documentation
2021-10-29 15:49:22 +02:00
Max Hilbrunner
343414cba5
Merge pull request #54328 from YeldhamDev/tabbar_close_signal_rename
...
Rename `TabBar`'s `tab_closed` signal to `tab_close_pressed`
2021-10-29 13:21:09 +02:00
clayjohn
1b2cd9f251
Addition of FogVolumes, FogShaders, FogMaterial, and overhaul of VolumetricFog
...
Co-authored-by: Brian Semrau <brian.semrau@gmail.com>
2021-10-28 22:02:23 -07:00
Michael Alexsander
4c563a51c3
Rename TabBar
's tab_closed
signal to tab_close_pressed
2021-10-28 13:10:44 -03:00
Aaron Franke
2dabdda36a
Update Time documentation
2021-10-28 10:16:56 -05:00
Rémi Verschelde
e2deec67b9
Merge pull request #54222 from JFonS/instance-fade
2021-10-28 16:05:55 +02:00
Rémi Verschelde
6d930bd270
Merge pull request #54342 from groud/remove_item_list_editor
2021-10-28 11:52:47 +02:00
Gilles Roudière
a51f92273a
Remove ItemList editor and replace it by a property array
2021-10-28 10:16:51 +02:00
bruvzg
63f3051154
Implement TextServer strip_diacritics
function.
2021-10-28 10:12:57 +03:00
Rémi Verschelde
21529c90f8
Merge pull request #54166 from ConteZero/unique_selection
2021-10-27 20:50:54 +02:00
ConteZero
fbee4efa5f
Add option to make selection unique
2021-10-27 19:45:52 +02:00
Gilles Roudière
756e76293f
Implement runtime update of TileData object in TileMap
2021-10-27 18:32:52 +02:00
Yuri Sizov
12838bd99d
Add focus font color to Button and derivatives
2021-10-26 17:42:40 +03:00
Rémi Verschelde
d020c6851a
Merge pull request #54256 from mhilbrunner/docs-real-time
2021-10-26 11:54:48 +02:00
Max Hilbrunner
396d2f0282
Time: Add some notes about timezones and UTC
2021-10-26 10:24:05 +02:00
Rémi Verschelde
f2cf52e032
Merge pull request #54153 from skyace65/AreaImprovements2
2021-10-26 08:48:27 +02:00
Rémi Verschelde
01afa39d21
Merge pull request #54073 from groud/terrains_for_procgen
2021-10-26 08:15:07 +02:00
Max Hilbrunner
d9d5296365
Merge pull request #53973 from nabfrew/nabf/light_hight_documentation
...
Clarify lighting height documentation
2021-10-26 07:58:12 +02:00
PouleyKetchoupp
daf7dcac7a
Improved RigidDynamicBody linear/angular damping override
...
Damping values are now non-negative.
Add new properties linear_damp_mode and angular_damp_mode to set the way
RigidDynamicBody and PhysicalBone (2D & 3D) use damping values.
It can now be Combine (default) to add to the default/areas, or Replace
to override the value completely (current behavior).
2021-10-25 18:22:12 -07:00
Hugo Locurcio
f2c2ecb6e8
Fix properties being displayed when they shouldn't in DirectionalLight3D
...
The parent `_validate_property()` wasn't called, which led to shadow
properties being visible even if shadows were disabled on a
DirectionalLight3D node.
2021-10-25 22:04:30 +02:00
Rémi Verschelde
d98a6363fa
Merge pull request #54084 from reduz/node3d-rotation-options
2021-10-25 20:42:45 +02:00
Rémi Verschelde
8911d6ecc8
Merge pull request #54147 from Calinou/editor-directionallight-3d-only-show-relevant-properties
2021-10-25 20:13:42 +02:00
Pawel Lampe
fa26fb865f
Improve NavigationObstacle3D usability
...
Fix NavigationObstacle3D to be attached to navigation map - without it
the NavigationObstacle3D is not working.
Replace radius approximation algorithm with simple "radius" property.
2021-10-25 19:57:33 +02:00
reduz
d03b7fbe09
Refactored Node3D rotation modes
...
* Made the Basis euler orders indexed via enum.
* Node3D has a new rotation_order property to choose Euler rotation order.
* Node3D has also a rotation_mode property to choose between Euler, Quaternion and Basis
Exposing these modes as well as the order makes Godot a lot friendlier for animators, which can choose the best way to interpolate rotations.
The new *Basis* mode makes the (exposed) transform property obsolete, so it was removed (can still be accessed by code of course).
2021-10-25 14:34:00 -03:00
Hugo Locurcio
c1de200757
Only show relevant properties in the DirectionalLight3D inspector
...
Some split distance properties are unused depending on the
current shadow mode. Also, Blend Splits can only be used if the shadow
mode is PSSM 2 Splits or PSSM 4 Splits.
This also moves the Fade Start property to be located after the
split properties. This avoids intertwining "conditional" properties
with a property that's always available.
2021-10-25 18:31:41 +02:00
Rémi Verschelde
24fdedfe94
Merge pull request #54050 from reduz/animation-compression
2021-10-25 14:27:58 +02:00
bruvzg
ebbc25e89c
Ignore empty Font resources as theme override.
...
Add range hint to font_size properties.
Remove excessive `base_size` Font property.
2021-10-25 14:05:37 +03:00
JFonS
c571e4a7f4
Implement distance fade and transparency
...
The built-in ALPHA in spatial shaders comes pre-set with a per-instance
transparency value. Multiply by it if you want to keep it.
The transparency value of any given GeometryInstance3D is affected by:
- Its new "transparency" property.
- Its own visiblity range when the new "visibility_range_fade_mode"
property is set to "Self".
- Its parent visibility range when the parent's fade mode is
set to "Dependencies".
The "Self" mode will fade-out the instance when reaching the visibility
range limits, while the "Dependencies" mode will fade-in its
dependencies.
Per-instance transparency is only implemented in the forward clustered
renderer, support for mobile should be added in the future.
Co-authored-by: reduz <reduzio@gmail.com>
2021-10-25 11:39:34 +02:00
Rémi Verschelde
c7b78b9538
Merge pull request #53885 from TokageItLab/fix-bone-animation-insertion
...
Fixed Pos/Rot/Scl 3D Tracks insertion in `SkeletonEditor`
2021-10-24 10:05:00 +02:00
Rémi Verschelde
b2ab5cb504
Merge pull request #54045 from ConteZero/primary_clipboard_linux_fix_warning
2021-10-23 19:13:34 +02:00
Hugo Locurcio
970bed62ab
Decrease the default soft shadow quality to improve performance
...
Soft shadows are relatively expensive to filter. However, with the
default blur factors, it's not needed to use too many samples
(unless PCSS-like shadows are used with a large size). Textures
and screen-space antialiasing can also be used to mask the noise
pattern effectively.
On a GeForce GTX 1080, going from Medium to Low for both shadow types
saves 0.2-0.4 ms of GPU time per frame in 2560×1440 resolution.
This can translate to significantly higher savings on lower-end GPUs.
Given how the shader works, this improves rendering performance
even if lights with shadows are never used.
2021-10-23 16:32:38 +02:00
ConteZero
8c48b4a7e0
Fix primary clipboard warning
2021-10-23 15:50:01 +02:00
skyace65
4dd8ab745a
Improve area method descriptions
2021-10-23 08:59:43 -04:00
Silc 'Tokage' Renew
653e2a550c
Fixed animation insertion in SkeletonEditor
2021-10-23 16:50:00 +09:00
Haoyu Qiu
4f8dfa1667
Make RichTextLabel's parse_bbcode and append_text return void
2021-10-23 14:25:39 +08:00
Rémi Verschelde
3d92de9e5d
Merge pull request #54132 from Duroxxigar/update-yield-call-examples
2021-10-22 21:47:59 +02:00
Duroxxigar
b2458ff575
Replace remaining usages of yield with new await keyword
2021-10-22 14:28:37 -04:00
Rémi Verschelde
3bebbcacdb
Merge pull request #53992 from Calinou/hard-shadow-mapping-allow-dithering
2021-10-22 19:34:09 +02:00
Rémi Verschelde
beb3875cdf
Merge pull request #53781 from m4gr3d/restrict_project_data_dir_config_master
2021-10-22 19:30:35 +02:00
Rémi Verschelde
6c35e74228
Merge pull request #53812 from RandomShaper/expose_flush_input
2021-10-22 17:20:33 +02:00
Pedro J. Estébanez
6dc3fae201
Expose Input::flush_buffered_events()
2021-10-22 14:28:48 +02:00
Raul Santos
baa83012ef
Fix bin_to_int
documentation examples
...
The `bin_to_int` method uses the `0b` prefix.
2021-10-22 01:57:34 +02:00
reduz
a69541da4c
Implement Animation Compression
...
Roughly based on https://github.com/godotengine/godot-proposals/issues/3375 (used format is slightly different).
* Implement bitwidth based animation compression (see animation.h for format).
* Can compress imported animations up to 10 times.
* Compression format opens the door to streaming.
* Works transparently (happens all inside animation.h)
2021-10-21 18:27:34 -03:00
Hugo Locurcio
e87ec8ec17
Add Soft Very Low shadow quality mode for 3D
...
This can be used to improve 3D shadow rendering quality at little
performance cost. Unlike the existing Hard setting which is limited
to variable shadow blur only, it works with both fixed blur and
variable blur.
2021-10-21 18:34:26 +02:00
Duroxxigar
cfb5d2dbf0
Update example code for SceneTreeTimer to reflect new await keyword
2021-10-21 12:22:55 -04:00
Gilles Roudière
d1aef45072
Allow updating TileMap cells using surrounding terrains
2021-10-21 16:57:28 +02:00
Rémi Verschelde
8748247d6f
Merge pull request #53702 from ConteZero/primary_clipboard_linux
2021-10-20 16:35:04 +02:00
Rémi Verschelde
c942d567eb
Merge pull request #53926 from YeldhamDev/i_am_tabbar_now
2021-10-20 15:42:41 +02:00
Rémi Verschelde
6d3eef03bc
Merge pull request #53260 from Calinou/editor-inspector-warning-yellow
2021-10-20 11:48:12 +02:00
Rémi Verschelde
36fd7f213d
Merge pull request #53983 from Duroxxigar/navmesh-agent-default
2021-10-20 11:08:11 +02:00
Rémi Verschelde
62b42b0269
Merge pull request #54012 from BastiaanOlij/fix_double_tracking_status
...
Fix double _get_tracking_status declaration
2021-10-20 09:21:56 +02:00
Bastiaan Olij
6794b6f10b
Fix double _get_tracking_status declaration
2021-10-20 17:39:08 +11:00
Murilo Gonçalves
94cba835eb
Fix: typo in TextParagraph class and docs
2021-10-19 16:38:58 -03:00
Duroxxigar
1de99820b8
Change default navmesh agent radius to match nav agent node's default radius
2021-10-19 11:43:39 -04:00
Michael Alexsander
67acb7de6e
Rename Tabs
to TabBar
2021-10-19 11:37:31 -03:00
Rémi Verschelde
85a8939fa2
Merge pull request #53790 from briansemrau/remove-distant-shadowy-void
2021-10-19 15:17:09 +02:00
Gilles Roudière
bc0b702874
Merge pull request #53440 from groud/tile_map_patterns_palette
...
Implement TileMap patterns palette
2021-10-19 13:13:46 +02:00
Bastiaan Olij
96b707215d
Add support for returning the play area from XRInterface
2021-10-19 21:17:04 +11:00
Gilles Roudière
1a95f893c4
Implement TileMap patterns palette
2021-10-19 11:57:37 +02:00
nabfrew
e2e77bbb04
Clarify 2D lighting height
property in class reference
...
It's easy to assume they are the same, but they are quite different for the two types of 2D lights. For myself, it took a bit of confusion and experimentation for me to figure out why this behaviour changed when I changed from point to directional. Hopefully it can save somebody else the trouble.
2021-10-19 09:23:12 +02:00
Rémi Verschelde
723b988fde
Merge pull request #52210 from BastiaanOlij/enhance_xr_trackers
2021-10-19 08:11:32 +02:00
ne0fhyk
b5c750fa65
Restrict the project data directory configuration
2021-10-18 14:10:38 -07:00
Rémi Verschelde
f4d9749e23
Merge pull request #53741 from DmitriySalnikov/exposed_sensor_setters_master
2021-10-18 23:00:56 +02:00
ConteZero
838c9d37b4
Added primary clipboard for Linux
2021-10-18 14:01:06 +02:00
Rémi Verschelde
a82347c12a
Merge pull request #53648 from pycbouh/docs-warn-about-internal-nodes
2021-10-18 11:22:58 +02:00
Rémi Verschelde
231d38cc7b
Merge pull request #53836 from KoBeWi/register_before_use
2021-10-18 10:57:25 +02:00
Rémi Verschelde
015e0c9fd8
Merge pull request #52773 from Calinou/audiostreamplayer3d-tweak-max-distance
2021-10-18 10:49:01 +02:00
Bastiaan Olij
5d1ea92daf
Rework XR positional trackers
2021-10-17 12:12:20 +11:00
kobewi
7515af8c25
Improve docs about plugin registration
2021-10-17 01:52:36 +02:00
Rémi Verschelde
a4e1a07d83
Merge pull request #53865 from reduz/implement-blend-shape-tracks
2021-10-16 16:48:10 +02:00
kobewi
8937fffc5e
Add a warning about infinite Tween loops
2021-10-16 16:11:38 +02:00
reduz
ae1c016547
Implement Animation Blend Shape Tracks
...
* New track type BLEND_SHAPE
* Blend shapes are imported via this new track type
* Processing is more optimized (no longer relies on variants)
* Modified the Blend Shape API in MeshInstance3D to use indices rather than StringNames (more optimizes)
* Promo: Fixed a small bug in gizmo updating in Node3D that affected performance
Dedicated BlendShape tracks are required for both optimization and eventually implementing them in animation compression.
2021-10-16 08:36:05 -03:00
mennomax
b4eeeb315a
Swap args of Plane(point, normal) constructor
...
Now (normal, point)
2021-10-15 20:49:42 -05:00
Brian Semrau
c4513d5add
Rename RD::free binding to free_rid
2021-10-15 15:35:05 -04:00
Rémi Verschelde
1efe7093be
Merge pull request #53833 from akien-mga/remove-webm-support
2021-10-15 17:33:06 +02:00
reduz
b3bf90b3ce
Add scene Post-Import Plugin support.
...
* New plugin system to control the whole import workflow
* Can add options and run code at every import step (general, per node, mesh, animation, material etc.)
This constitutes a first version of these plugins. The ability to interact with the import preview dialog will likely be added later on.
2021-10-15 09:12:04 -03:00
Rémi Verschelde
ae74e78909
Remove WebM support (and deps libvpx and opus)
...
We've had many issues with WebM support and specifically the libvpx library
over the years, mostly due to its poor integration in Godot's buildsystem,
but without anyone really interested in improving this state.
With the new GDExtensions in Godot 4.0, we intend to move video decoding to
first-party extensions, and this would likely be done using something like
libvlc to expose more codecs.
Removing the `webm` module means we can remove libsimplewebm, libvpx and
opus, which we were only used for that purpose. Both libvpx and opus were
fairly complex pieces of the buildsystem, so this is a nice cleanup.
This also removes the compile-time dependency on `yasm`.
Fixes lots of compilation or non-working WebM issues which will be linked
in the PR.
2021-10-15 12:09:11 +02:00
Camille Mohr-Daurat
342c1bf1e2
Merge pull request #53054 from MaxLap/doc_shape_signals
...
Improve area/body_shape_entered/exited signals parameter names and doc
2021-10-14 14:31:58 -07:00
Maxime Lapointe
b66fdb8dd2
Improve area/body_shape_entered/exited signals parameter names and doc
...
Fix some typoed names from the doc
Add _index to "index" parameters of *_shape_* signals, this is both in doc and in the template. This makes the code, signature and doc easier to understand
Add method to get Node from the _index params of those signals. This was not as easy to find as one would expect. Putting this information where it is needed will help.
2021-10-14 15:41:26 -04:00
Brian Semrau
4fefd7cddd
Fix several issues with directional shadows
...
- Internally disable blend splits in orthogonal directional shadow mode
- Fix soft shadows ignoring fade and blend_splits
- Fix soft shadow edge stability
2021-10-14 11:44:32 -04:00
Brian Semrau
a62e240260
Fix the height fog effect
2021-10-14 04:08:39 -04:00
Rémi Verschelde
d956904091
Merge pull request #53597 from Xeadriel/patch-1
2021-10-13 21:04:32 +02:00
reduz
2dc823273e
Remove REST transform influence in skeleton bones
...
* Animations and Skeletons are now pose-only.
* Rest transform is kept as reference (when it exists) and for IK
* Improves 3D model compatibility (non uniform transforms will properly work, as well as all animations coming from Autodesk products).
2021-10-13 14:51:29 -03:00
Xeadriel
bf5f5e159e
Add that elapsed_time in CharFXTransform resets when RichTextLabels text is changed
...
Update doc/classes/CharFXTransform.xml Grammar fix
Co-authored-by: Aaron Record <50304111+LightningAA@users.noreply.github.com>
2021-10-13 17:02:22 +02:00
Gilles Roudière
b9151860f3
Prevent tiles outside atlas texture
2021-10-13 13:44:02 +02:00
Rémi Verschelde
3e86ca5586
Merge pull request #53689 from reduz/remove-animation-transform3d-track
2021-10-13 12:40:33 +02:00
reduz
ec19ed3723
Remove animation 3D transform track, replace by loc/rot/scale tracks.
...
* `Animation.TYPE_TRANSFORM3D` track is gone.
* Added POSITION_3D, ROTATION_3D, SCALE_3D tracks.
* GLTF2, Collada, FBX importers will only import the track types found.
* Skeleton3D bone poses are now Pos/Rot/Scale, pose matrix removed.
* AnimationPlayer and AnimationTree animate these tracks separately, only when found.
* Removed BakeReset code, is useless with these changes.
This is the first in a series of commits designed to make the animation system in Godot more useful, which includes:
* Better compatibility with Autodesk products
* Better reusability of animations across models (including retargeting).
* Proper animation compression.
* etc.
*Note* GLTF2 animation saving went broken with this PR, needs to be fixed in a subsequent one.
2021-10-12 20:08:42 -03:00
Rémi Verschelde
d9667d9262
Merge pull request #53636 from KoBeWi/colorayer
...
Add modulate property to TileMap layers
2021-10-12 22:32:38 +02:00
Дмитрий Сальников
9b38e04fff
Exposed setters for sensor values in Input class
2021-10-12 23:26:03 +03:00
Hendrik Brucker
cd37af4e4c
Add GradientTexture2D
...
Co-authored-by: Mariano Javier Suligoy <marianognu.easyrpg@gmail.com>
Co-authored-by: Andrii Doroshenko <xrayez@gmail.com>
2021-10-12 16:22:30 +02:00
Gilles Roudière
1be00864b7
Add a way to force undo/redo operations to be kept in MERGE_ENDS mode
2021-10-12 14:03:05 +02:00
Rémi Verschelde
1bd6a2f020
Merge pull request #52548 from m4gr3d/customize_metadata_dir_master
...
Make the project data directory customizable
2021-10-12 08:26:47 +02:00
Juan Linietsky
610de0974d
Revert "Implement reverse playback and ping-pong loop in AnimationPlayer and NodeAnimation"
2021-10-11 19:27:50 -03:00
ne0fhyk
3e44a6375e
Make the project data directory customizable.
2021-10-11 14:40:14 -07:00
Rémi Verschelde
9ed4f8367b
Merge pull request #48332 from TokageItLab/implement-ping-pong
2021-10-11 22:55:01 +02:00
Paulb23
3010bca41b
Move add_syntax_highlighter bind to ScriptEditorBase
2021-10-11 18:13:31 +01:00
Yuri Sizov
07725b611b
Add warnings to methods that give access to internal nodes
2021-10-10 22:57:58 +03:00
kobewi
ec0d72a828
Add modulate property to TileMap layers
2021-10-10 20:28:57 +02:00
zacryol
6941ab9ae5
Mention remove_node() side effect of potentially setting owner to null
2021-10-09 17:46:33 -06:00
Hugo Locurcio
735618b39e
Fix typo in the Timer.wait_time
description
2021-10-09 11:37:23 +02:00
Tokage
372ba76663
implement ping-pong loop in animation
...
Co-authored-by: Chaosus <chaosus89@gmail.com>
2021-10-09 18:08:43 +09:00
Hugo Locurcio
42d13e29e2
Add a warning for Timer nodes with very low wait times
...
Very low wait times behave in unpredictable ways depending on the
rendered frame rate. This is because the timeout signal is only emitted
once per rendered frame (or physics frame, depending on the timer's
process mode).
2021-10-09 08:57:48 +02:00
Rémi Verschelde
5ae569560d
Fix missing argument names in bindings
...
While at it, tweak some boolean setters to use `p_enabled` for the bool.
Also renames `draw_minimap()` to `set_draw_minimap()`.
2021-10-09 00:20:10 +02:00
Hugo Locurcio
73c6e19acc
Allow any floating-point value as a 3D rendering scale option
...
This allows for finer control over 3D rendering resolution.
Supersampling can also be performed by setting a 3D rendering
resolution above 1.0, which is useful for offline rendering or
for very high-end GPUs.
2021-10-08 18:22:10 +02:00
Rémi Verschelde
a5a52233bc
Merge pull request #53549 from DeeJayLSP/refcounted-fix-description
2021-10-08 18:11:11 +02:00
DeeJayLSP
63e2aba3fd
Fix RefCounted description
...
If the class name is modified, its name in the description should be too.
However, pluralization is a bit complicated in this case. I'll give the options `RefCounteds` and `reference-counted objects`. Maybe both can be used.
2021-10-08 11:52:19 -03:00
Fabio Alessandrelli
7c93931751
[Net] Add call_local argument to Node.rpc_config.
2021-10-08 12:49:20 +02:00
Rémi Verschelde
9f9452a738
Merge pull request #53493 from DeeJayLSP/patch-1
2021-10-07 22:35:55 +02:00
Rémi Verschelde
8aa55435b3
Merge pull request #53541 from Calinou/doc-call-group-null
2021-10-07 22:35:17 +02:00
Rémi Verschelde
a6c4de49e1
Merge pull request #53523 from Calinou/remove-occlusion-color
2021-10-07 22:26:10 +02:00
Rémi Verschelde
21b6aabb60
Merge pull request #53538 from Calinou/environment-ssr-fade-no-negative-values
2021-10-07 22:05:46 +02:00
Hugo Locurcio
f6d7f37592
Document null argument limitation with SceneTree.call_group()
2021-10-07 18:55:29 +02:00
Hugo Locurcio
01d1e9f576
Don't allow translucent colors in built-in sky material properties
...
The colors' alpha channel is ignored, so there's no point in
exposing it in the editor.
2021-10-07 18:12:16 +02:00
Hugo Locurcio
0269d8e871
Clamp Environment's SSR fade-in and fade-out to positive values
...
Negative values result in rendering glitches.
2021-10-07 17:59:55 +02:00
Hugo Locurcio
265bae824f
Remove unimplemented Environment.ambient_light_occlusion_color
property
...
This property was intended to provide a way to have SSAO or VoxelGI
ambient occlusion with a color other than black. However, it was
dropped during the Vulkan renderer development due to the performance
overhead it caused when the feature wasn't used.
2021-10-07 17:47:52 +02:00
DeeJayLSP
17e3c9a4e3
DisplayServer: Add multiple descriptions for methods.
...
Added multiple descriptions for clipboard, mouse and window methods.
2021-10-07 12:43:00 -03:00
Rémi Verschelde
26f4848d01
Merge pull request #53455 from briansemrau/thread-is-executing
...
[core_bind] Add `Thread::is_alive`. Replace `is_active` with `is_started` to align with core/os/Thread API.
2021-10-06 21:20:33 +02:00
Rémi Verschelde
164dc11e04
Merge pull request #45699 from TokageItLab/implement-skeleton-editor-gizmo
...
Implement Skeleton Editor Gizmo
2021-10-06 21:11:20 +02:00
Brian Semrau
f28c677f3d
[core_bind] Add is_alive
to Thread. Replace is_active
with is_started
.
...
Replacing `is_active` resolves an API discrepancy between core_bind Thread and core/os Thread.
2021-10-06 12:47:58 -04:00
Silc Renew
f2e9867e9f
Implemented SkeletonEditorGizmo
...
Co-authored-by: Lyuma <xn.lyuma@gmail.com>
2021-10-07 01:07:46 +09:00
Rémi Verschelde
294acad796
Merge pull request #53472 from akien-mga/doc-update-tutorial-links
2021-10-06 14:59:36 +02:00
Rémi Verschelde
862994a8ef
doc: Update links to latest documentation after content reorganization
2021-10-06 13:48:48 +02:00
kobewi
92a53f9bd6
Change dragging cursor on Windows
2021-10-06 13:13:42 +02:00
Rémi Verschelde
425f643e05
Merge pull request #53416 from DeeJayLSP/patch-1
2021-10-06 09:11:21 +02:00
Rémi Verschelde
9962c59dc5
Merge pull request #53446 from nekomatata/container-pre-sort-children
2021-10-06 08:25:06 +02:00
DeeJayLSP
d89889d055
Describe how window mode setter and getter works
2021-10-05 20:43:13 -03:00
PouleyKetchoupp
1c0ebc85dd
Add pre-sort signal and notification in Container
...
Allows processing before children are sorted, useful for custom
containers inherited from existing ones like BoxContainer.
2021-10-05 13:09:01 -07:00
Hugo Locurcio
bf34253131
Use a yellow color for editable children properties instead of red
...
This matches the usual "Changes may be lost!" warning color.
- Remove a duplicate editor theme color setting declaration.
2021-10-05 19:15:44 +02:00
Rémi Verschelde
788b3aa27a
doc: Fix style inconsistencies for [b]Note:[/b]
paragraphs
...
And fix up formatting not supported by makerst.
2021-10-05 19:13:20 +02:00
Rémi Verschelde
6637207c70
Merge pull request #53420 from nekomatata/fix-tilemap-moving-platform
2021-10-05 10:50:56 +02:00
Rémi Verschelde
ad08483fa6
Merge pull request #53406 from KoBeWi/are_you_a_process_or_an_idle
2021-10-04 22:01:21 +02:00
kobewi
cdac60759e
Add support for unbinding in connection dialog
2021-10-04 21:41:21 +02:00
PouleyKetchoupp
4f8d761be6
Fix physics glitch with TileMap moving platforms
...
Added a parameter in test_body_motion to exclude attached objects from
collision, used to avoid collision with all TileMap tiles with moving
platform motion instead of just the one tile the character touches.
Same changes made in 3D for consistency, and handling potential similar
cases.
2021-10-04 12:27:42 -07:00
Rémi Verschelde
5b270278c8
Merge pull request #53280 from nekomatata/test-body-motion-parameters
2021-10-04 21:05:38 +02:00
kobewi
6397eaa27e
Fix some leftover references to idle_frame
2021-10-04 20:57:31 +02:00
PouleyKetchoupp
3ae5687d48
Script interface improvements for test body motion
...
-Physics servers test body motion use a class to hold parameters instead
of multiple arguments to make it more readable and flexible since there
are many options
-Improved documentation for test body motion and kinematic collision
-Removed read-only properties for body motion results (not handled in
scripts, so they should be get_ methods only instead)
2021-10-04 10:49:10 -07:00
Rémi Verschelde
d1c77d6b62
Merge pull request #53378 from clayjohn/hide_render_priority
...
Hide render_priority except when using SpatialMaterials
2021-10-04 19:17:32 +02:00
clayjohn
8c949016ff
Hide render_priority except when using SpatialMaterials
2021-10-04 08:48:58 -07:00
Rémi Verschelde
7722048ed0
Merge pull request #53354 from reduz/remove-clipped-camera
2021-10-04 17:19:15 +02:00
Rémi Verschelde
865b62b1cd
Merge pull request #53341 from pycbouh/gui-editor-scale-encapsulation
2021-10-04 16:12:52 +02:00
reduz
b11bb595d1
Remove ClippedCamera3D
...
* Usage was always confusing for users
* The ability to generate a pyramid shape was moved to Camera3D
* SpringArm3D now casts using the camera pyramid shape if no shape is supplied.
2021-10-04 10:46:49 -03:00
Yuri Sizov
4a42a66cd9
Add the base scale factor to the Theme resource
2021-10-04 15:25:07 +03:00
K. S. Ernest (iFire) Lee
1463fc889b
GLTF for game templates.
...
Convert GLTF Document to use ImporterMeshInstance3D.
Add a GLTFDocument extension list and an extension for converting the importer mesh instance 3d to mesh instance 3d.
Use GLTF module when the editor tools are disabled.
Modified the render server to be less restrictive on matching blend arrays and have more logging.
Misc bugs with multimesh.
Always index the meshes.
2021-10-03 12:37:52 -07:00
Rémi Verschelde
06e2cef459
Merge pull request #53306 from Calinou/doc-basematerial3d-normal-tangents
2021-10-01 21:43:27 +02:00
Fabio Alessandrelli
366e374f76
Merge pull request #53290 from Faless/mp/4.x_opts_names
...
[Net] Rename RPC constants and annotation arguments.
2021-10-01 21:35:08 +02:00
Hugo Locurcio
22e759dd11
Document that tangents are required for normal mapping in BaseMaterial3D
2021-10-01 19:05:37 +02:00
Fabio Alessandrelli
24a949ea11
[Net] Rename RPC constants and annotation arguments.
...
any -> any_peer
sync -> call_local
ordered -> unreliable_ordered
Multiplayer.RPC_MODE_ANY -> RPC_MODE_ANY_PEER
Multiplayer.TRANSFER_MODE_ORDERED -> TRANSFER_MODE_UNRELIABLE_ORDERED
2021-10-01 18:14:38 +02:00
Hugo Locurcio
d339388942
Document SurfaceTool must generate tangents for proper normal display
2021-10-01 17:20:25 +02:00
bruvzg
daa613333e
[Text Server] Add support for user defined punctuation list, used for word breaking.
2021-10-01 16:45:16 +03:00
bruvzg
0c0b5c84b0
Implement TextServer GDExtension interface, remove TextServer GDNative interface.
2021-10-01 15:13:29 +03:00
Rémi Verschelde
a7011fa294
Merge pull request #52684 from Frixuu/master
2021-10-01 11:53:01 +02:00
Eric M
ad30b0a8dd
Allow shortcuts to have any number of bindings. Updated UI as required.
2021-10-01 18:04:28 +10:00
Yuri Roubinsky
1ade29147b
Add texture_changed
signal to Sprite3D
2021-10-01 10:14:05 +03:00
Rémi Verschelde
b32f84d473
Merge pull request #52850 from mashumafi/vector-bsearch
2021-10-01 07:52:51 +02:00
Rémi Verschelde
a28f44fa53
Merge pull request #53277 from YeldhamDev/tabs_renaming
2021-10-01 07:52:29 +02:00
mashumafi
214bbfbefe
Implement bsearch for Vector and Packed*Array
2021-09-30 23:57:26 +00:00
Michael Alexsander
663e480f24
Rename some elements of Tabs
2021-09-30 20:18:23 -03:00
Camille Mohr-Daurat
1c0ae31c9e
Merge pull request #53266 from nekomatata/remove-shape-metadata
...
Remove shape metadata from 2D physics server
2021-09-30 12:11:50 -07:00
Max Hilbrunner
770bd61767
Merge pull request #53076 from zacryol/dict-typo-fix
...
Fix typo with example variable name in Dictionary docs
2021-09-30 20:19:05 +02:00
PouleyKetchoupp
d0ec46be68
Remove shape metadata from 2D physics server
...
Shape metadata was only used to get tile information when colliding with
tilemaps. It's not needed anymore since there's an API in tilemap using
body ids instead.
2021-09-30 10:45:36 -07:00
Camille Mohr-Daurat
767bde8c28
Merge pull request #53197 from nekomatata/fix-motion-direction-in-slope
...
Fix motion direction in slope for CharacterBody3D
2021-09-30 09:43:24 -07:00
Camille Mohr-Daurat
43c7448741
Merge pull request #53149 from fabriceci/port-move-and-slide-3D-new-changes
...
Add latest API changes added in the 3D version of move_and_slide to the 2D version
2021-09-30 09:43:07 -07:00
Rémi Verschelde
5b7ec95de7
Merge pull request #53254 from Calinou/node-rename-filename
...
Rename Node's `filename` property to `scene_file_path` for clarity
2021-09-30 17:59:56 +02:00
Hugo Locurcio
570cdc128f
Rename Node's filename
property to scene_file_path
for clarity
2021-09-30 16:50:25 +02:00
fabriceci
bd411ae187
Add latest changes added in the 3D version
2021-09-30 16:50:07 +02:00
PouleyKetchoupp
eec3f3ec12
Fix motion direction in slope for CharacterBody3D
...
- More accurate sliding in slopes to keep input direction correct
- More accurate constant speed calculation
- Renamed linear_velocity to motion_velocity for clarity
- General code cleaning and simplifications
2021-09-30 07:47:07 -07:00
Rémi Verschelde
998974fd7a
Merge pull request #52874 from Calinou/doc-ease-smoothstep
2021-09-30 14:38:14 +02:00
Hugo Locurcio
f23b917007
Clarify what the Node.filename
property contains
2021-09-30 12:50:45 +02:00
Rémi Verschelde
f91afeb75d
Merge pull request #53228 from timothyqiu/dict-erase
2021-09-29 23:17:44 +02:00
Rémi Verschelde
1ab8f3f559
Merge pull request #52724 from groud/improve_tilemap_physics
2021-09-29 23:01:16 +02:00
Rémi Verschelde
7db3dbadb9
Merge pull request #53178 from Calinou/doc-sin-cos-degrees
...
Document how to use degrees with `sin()` and `cos()`
2021-09-29 22:56:49 +02:00
Haoyu Qiu
1e0fe9f817
Fix doc for Dictionary.erase
2021-09-30 01:18:47 +08:00
Hugo Locurcio
ea54b619ae
Document how to use degrees with sin()
and cos()
...
This was already present in the `tan()` method description.
This also adds `var` keywords to code samples to make them
valid GDScript.
2021-09-29 18:48:40 +02:00
Gilles Roudière
f2caab4691
Improve TileMap physics for moving platforms and conveyor belts like movements
2021-09-29 17:56:30 +02:00
Rémi Verschelde
2fc31fdfca
Merge pull request #53217 from Faless/ext/fix_pointer_info
2021-09-29 17:41:58 +02:00
Fabio Alessandrelli
0276c2e74a
Fix const pointers types in docs and extension API.
...
The GDVIRTUAL_NATIVE_PTR did not declare the correct GDNativeConstPtr
template, resulting in "void*" being used as it's type info in both the
documentation and the extension API dump.
2021-09-29 16:04:20 +02:00
O01eg
9302b6547a
Implement override of get_message and get_plural_message
2021-09-29 14:19:14 +03:00
Rémi Verschelde
6c0f44ca7e
Merge pull request #53000 from Chaosus/lineedit_expose_selection_methods
2021-09-29 10:31:37 +02:00
Camille Mohr-Daurat
341b532d5e
Merge pull request #52754 from nekomatata/dynamic-body-modes
...
Clarify RigidDynamicBody modes
2021-09-28 17:11:17 -07:00
fabriceci
dd5f01e83e
Set stop on slope on by default on CharacterBody.
2021-09-28 22:31:46 +02:00
Camille Mohr-Daurat
c38ef94951
Merge pull request #53174 from fabriceci/apply-delta-move-and-collide
...
Physic API change: apply the delta in move and collide like move and slide
2021-09-28 11:32:09 -07:00
fabriceci
32bf7c419c
Sync to physics true by default for AnimatableBody
2021-09-28 16:11:17 +02:00
fabriceci
60fee25c44
Apply delta in move and collide
2021-09-28 14:53:24 +02:00
Fabio Alessandrelli
d18cbdf5e4
Merge pull request #52481 from Faless/net/4.x_native_peers
...
[Net] Extension system for network peers, webrtc.
2021-09-28 12:57:45 +02:00
Rémi Verschelde
cd570539ee
Merge pull request #53040 from pycbouh/docs-color-picker-and-button
2021-09-28 12:13:54 +02:00
Rémi Verschelde
60988a06c2
Merge pull request #52953 from nekomatata/fix-collision-recovery-depth
2021-09-28 12:11:38 +02:00
Rémi Verschelde
ed5267f69f
Merge pull request #53053 from LATRio/callable_in_thread_start
2021-09-28 11:10:09 +02:00
PouleyKetchoupp
bf523a2b2a
Improved logic for CharacterBody collision recovery depth
...
Allows 2D character controller to work without applying gravity when
touching the ground (also more safely in 3D), and collision detection
is more flexible with different safe margin values.
Character body motion changes in 2D and 3D:
-Recovery only for depth > min contact depth to help with collision
detection consistency (rest info could be lost if recovery was too much)
-Adaptive min contact depth (based on margin) instead of space parameter
Extra CharacterBody changes:
-2D: apply changes made in 3D for stop on slope and floor snap that help
fixing some jittering cases
-3D: fix minor inconsistencies in stop on slope and floor snap logic
2021-09-27 15:31:41 -07:00
bruvzg
911c276a1a
[macOS, sandbox] Add export option to embed and sign helper executables.
2021-09-27 11:02:56 +03:00
zacryol
9359bee75c
Fix typo with example variable name in Dictionary docs, and fix error in C# example
2021-09-26 11:16:55 -06:00
Rémi Verschelde
c7f67daccd
Merge pull request #52855 from Calinou/engine-editor-hint-getter-only
2021-09-25 22:09:51 +02:00
Rémi Verschelde
9013771b53
Merge pull request #51518 from Calinou/doc-network-android-permission
2021-09-25 15:36:18 +02:00
LATRio
97c68514c4
Use Callable in Thread::start
2021-09-25 22:07:13 +09:00
Hugo Locurcio
7a62bd1e44
Document Android permission requirements for network access where needed
2021-09-25 12:32:46 +02:00
Hugo Locurcio
b383181851
Tweak AudioStreamPlayer3D property hints for usability
...
This also improves the documentation for the `max_distance` property.
2021-09-25 12:24:30 +02:00
Yuri Sizov
67db227f86
Add usability notes to ColorPicker and ColorPickerButton descriptions
...
Co-authored-by: follower <follower@rancidbacon.com>
2021-09-25 02:21:31 +03:00
Rémi Verschelde
994c1201c1
Merge pull request #52996 from YeldhamDev/im_the_invisible_tab
2021-09-25 00:11:51 +02:00
Rémi Verschelde
0abe464162
Merge pull request #52849 from KoBeWi/know_no_binds
2021-09-25 00:10:56 +02:00
Fabio Alessandrelli
2d810e8cd9
[Net/Docs] Update extensions documentation.
2021-09-24 21:23:43 +02:00
Lertsenem
e1bf428cdc
Fix error in Vector2.reflect() description
...
The description was probably copied from Vector3.reflect(), and
unfortunately did not match the 2D behaviour (where n is apparently the
direction vector of the symmetry line, not the normal).
2021-09-24 18:41:06 +02:00
kobewi
7bf5fc709e
Remove binds from Signal.connect
2021-09-24 17:07:33 +02:00
Rémi Verschelde
5e4a71200e
Merge pull request #53003 from KoBeWi/tween_0()
2021-09-24 13:21:55 +02:00
kobewi
5c1195e456
Add a special case for 0-time interpolations
2021-09-24 13:02:49 +02:00
Yuri Roubinsky
4e0552a4ff
Add selection getter methods to LineEdit
2021-09-24 11:30:58 +03:00
Michael Alexsander
7ce02b642e
Expose TabContainer
's tab hidding for scripts
2021-09-24 01:26:59 -03:00
Gilles Roudière
f9e6329496
Implement animated tiles
2021-09-23 17:24:37 +02:00
Rémi Verschelde
e305030522
Merge pull request #47422 from skyace65/EventPosition
2021-09-22 09:04:38 +02:00
skyace65
824259aca0
Add note that for _gui_input(event) event position is relative to the control origin
2021-09-21 20:47:13 -04:00
fabriceci
fd9e573ba6
Port 2D improvement to move and slide 3D
...
Co-authored-by: Camille Mohr-Daurat <pouleyketchoup@gmail.com>
2021-09-22 00:14:04 +02:00
Rémi Verschelde
bfcc29635f
Merge pull request #52913 from Paulb23/text-edit-search-theme
2021-09-21 21:55:41 +02:00
Rémi Verschelde
ba57252bd8
Merge pull request #52878 from AnilBK/add-get-center
2021-09-21 21:30:30 +02:00
Paulb23
6c2fd03959
Added search colors to TextEdit and CodeEdit theme
2021-09-21 20:24:39 +01:00
Anilforextra
90908cd67d
Add Get Center Method for Rect2/Rect2i and AABB.
2021-09-21 21:14:17 +05:45
Rémi Verschelde
61ce8b206e
Merge pull request #52877 from Calinou/add-print-verbose
...
Add `print_verbose()` built-in function to print in verbose mode only
2021-09-21 17:00:58 +02:00
Hugo Locurcio
650b1db4b8
Add print_verbose()
built-in function to print in verbose mode only
...
This can be used as a shorthand for:
if OS.is_stdout_verbose():
print("...")
Unlike `print_debug()`, this works in release builds too and can
be toggled off in debug builds.
2021-09-21 15:59:49 +02:00
Eric M
baba971c81
Added option for spinbox to update it's value on line edit 'text_changed' rather than 'text_entered'
2021-09-21 23:24:33 +10:00
Rémi Verschelde
8085affdb1
Merge pull request #52890 from bruvzg/rtl_effects_connected
...
Improve connected grapheme handling in the RTL CharFX.
2021-09-21 13:33:44 +02:00
bruvzg
c931906af7
Add flag to connected grapheme. Apply RTL displacement FX only to the whole connected grapheme. Pass more glyph info to the custom RTL FX.
2021-09-21 13:51:38 +03:00
Rémi Verschelde
2717f583a4
Merge pull request #47297 from KoBeWi/ 📞 🌳
...
Improve call_group documentation
2021-09-21 11:30:37 +02:00
Rémi Verschelde
2785ad32df
Merge pull request #52884 from aaronfranke/doc-no-empty
...
Don't generate empty methods/constants doc sections and reduce code duplication
2021-09-21 11:12:19 +02:00
Aaron Franke
d54f2ad7ca
Don't generate empty doc sections and reduce code duplication
2021-09-20 20:59:33 -05:00
Hugo Locurcio
1529bf7c10
Document how to delay code execution in a non-blocking manner
2021-09-21 02:15:25 +02:00
Frixuu
650e63a7ca
Allow for mapping keycodes to current layout
2021-09-21 00:03:02 +02:00
Hugo Locurcio
567b6436c9
Improve the documentation for ease()
and smoothstep()
...
This adds a cheatsheet for `ease()` and a comparison graph for
`smoothstep()`, among other things.
2021-09-20 16:08:39 +02:00
Hugo Locurcio
2560070c0a
Remove Engine.editor_hint
in favor of Engine.is_editor_hint()
...
The `Engine.set_editor_hint()` setter method is no longer exposed
to scripting, which makes the property effectively read-only from
an user perspective.
2021-09-20 14:24:39 +02:00
Rémi Verschelde
89417ba75b
Merge pull request #52398 from deakcor/dev-transform
2021-09-20 08:46:51 +02:00
Vincent D
aa82cb6f35
Expose get_skew for transform2d and add new constructor
...
Expose set_scale and set_skew for transform2d
Replacing float by real_t
Adding const parameters
Updated transform2d doc
2021-09-19 17:10:05 +02:00
Rémi Verschelde
c5b70ac445
Merge pull request #52797 from vnen/string-indexing
2021-09-17 22:00:56 +02:00
Rémi Verschelde
43cc6dd479
Merge pull request #52774 from Calinou/audiostreamplayer3d-remove-out-of-range
2021-09-17 21:56:59 +02:00
George Marques
262d9397fb
Allow indexing of String values in scripting languages
2021-09-17 16:24:56 -03:00
Hugo Locurcio
973f52b784
Remove unused out_of_range_mode
property from AudioStreamPlayer3D
...
The `out_of_range_mode` property is no longer used since audio mixing
was moved out of the various AudioStreamPlayer nodes.
2021-09-17 20:18:38 +02:00
Rémi Verschelde
220b69ab56
Merge pull request #52450 from aaronfranke/they-came-from-scale
...
Replace Vector3.to_diagonal_matrix with Basis.from_scale
2021-09-17 19:38:36 +02:00
George Marques
455e142d37
Allow comparing equality between builtin types and null
2021-09-17 12:33:52 -03:00
Aaron Franke
bf0213470c
Replace Vector3.to_diagonal_matrix with Basis.from_scale
2021-09-17 10:30:30 -05:00
Rémi Verschelde
5ebc5a7714
Merge pull request #52751 from Rubonnek/rename-listener-nodes
2021-09-17 12:23:41 +02:00
PouleyKetchoupp
ed1ba5093f
Clarify RigidDynamicBody modes
...
RigidDynamicBody modes are replaced with several properties to make their
usage clearer:
-lock_rotation: disable body's rotation (instead of MODE_LOCKED)
-freeze: no gravity or forces (instead of MODE_STATIC and MODE_KINEMATIC)
-freeze_mode: Static (can be only teleported) or Kinematic (can be animated)
Also renamed MODE_DYNAMIC_LOCKED to MODE_DYNAMIC_LINEAR in the physics
servers.
2021-09-16 16:03:48 -07:00
Wilson E. Alvarez
f3a564f9a5
Rename Listener2D/Listener3D to AudioListener2D/AudioListener3D
2021-09-16 17:51:51 -04:00
HaSa1002
053b3b946c
Remove bbcode_text from RichTextLabel
...
Also renames:
- append_bbcode -> append_text
- get_bbcode -> get_text
- set_bbcode -> set_text
- get_text -> get_parsed_text
Property text is:
set_text
get_text
2021-09-16 22:27:08 +02:00
Camille Mohr-Daurat
3581b893ed
Merge pull request #52681 from nekomatata/rename-rigid-body
...
Rename RigidBody to RigidDynamicBody and SoftBody to SoftDynamicBody
2021-09-16 11:20:21 -07:00
PouleyKetchoupp
85819b199a
Rename RigidBody to RigidDynamicBody and SoftBody to SoftDynamicBody
2021-09-16 09:55:20 -07:00
Rémi Verschelde
46e37545b8
Merge pull request #52740 from akien-mga/os-get_locale-language
...
Implement `OS::get_locale_language()` helper method
2021-09-16 14:23:06 +02:00
Rémi Verschelde
f24a98024d
Merge pull request #44885 from Jummit/duplicate-docs
...
Clarify that duplicate only copies exported members and fails with a constructor
2021-09-16 10:52:19 +02:00
Rémi Verschelde
dc7f5c681c
Merge pull request #52731 from KoBeWi/tween_safe()
...
Improvements to Tweens' Variant types
2021-09-16 10:48:13 +02:00
Rémi Verschelde
def99c7baf
Implement OS::get_locale_language()
helper method
...
This method extracts the 2 or 3-letter language code from `OS::get_locale()`,
making it easier for users to identify the "main" language code for users
that might have different OS locales due to different OS or region, but
should be matched to the same translation (e.g. "generic" Spanish).
Fixes #40703 .
2021-09-16 09:34:58 +02:00
Juan Linietsky
e2bd0a0a73
Merge pull request #52571 from timothyqiu/expose-enum
...
Expose enum related methods in ClassDB
2021-09-15 23:43:35 -03:00
Max Hilbrunner
f701d9b0f7
Merge pull request #38051 from Calinou/doc-cubemap
...
Document the Cubemap class
2021-09-16 02:41:43 +02:00
kobewi
31ef94f2ec
Improve call_group documentation
2021-09-16 02:22:45 +02:00
Max Hilbrunner
47f7b4b7ca
Merge pull request #43240 from HaSa1002/docs-mainloop
...
Docs: Fix Mainloop example
2021-09-16 02:22:37 +02:00
Max Hilbrunner
4317d3a4a2
Merge pull request #46625 from mbrlabs/docs-mutex-lock
...
Documented that mutexes are implemented recursively
2021-09-16 02:20:00 +02:00
Max Hilbrunner
4737b7bbb4
Merge pull request #50197 from SirQuartz/patch-16
...
Add note to `RichTextLabel` about BBCode and `push_*/pop` functions
2021-09-16 02:09:41 +02:00
kobewi
266955d15f
Improvements to Tweens' Variant types
2021-09-16 02:08:26 +02:00
Camille Mohr-Daurat
1852afb6b0
Merge pull request #52679 from nekomatata/world-boundary-shape
...
Rename WorldMarginShape to WorldBoundaryShape
2021-09-15 16:02:40 -07:00
Max Hilbrunner
a1a8afafd4
Merge pull request #52472 from mhilbrunner/array-slice-docs
...
Fix docs for Array's slice()
2021-09-16 00:45:44 +02:00
Max Hilbrunner
7c689fb384
Merge pull request #49038 from madmiraal/fix-docs-3407
...
Clarify documentation of Camera3D.get_camera_transform()
2021-09-16 00:21:39 +02:00
Max Hilbrunner
e156b0cc19
Merge pull request #49041 from madmiraal/fix-docs-4085
...
Clarify that eof_reached() cannot be used to check if more data is available
2021-09-16 00:19:35 +02:00
Max Hilbrunner
f4b088c2d7
Merge pull request #50207 from SirQuartz/patch-17
...
Add note to `SceneTree` about pausing
2021-09-15 23:56:23 +02:00
Max Hilbrunner
fe16460474
Merge pull request #50182 from SirQuartz/patch-15
...
Add many descriptions to the `Window` class
2021-09-15 23:55:33 +02:00
Max Hilbrunner
7d43b0f7a8
Merge pull request #51615 from Bhu1-V/PR/docs/cmd-plt
...
`EditorCommandPalette` Documentation.
2021-09-15 23:25:54 +02:00
Max Hilbrunner
3100c7ec1f
Merge pull request #52677 from Calinou/doc-styleboxflat-bevel-antialiasing
...
Document caveats with StyleBoxFlat antialiasing and beveled corners
2021-09-15 23:20:19 +02:00
Max Hilbrunner
d69f4999fb
Merge pull request #52628 from mechPenSketch/imgages_in_docs
...
Add Graph Illustrations to Doc
2021-09-15 23:18:25 +02:00
Max Hilbrunner
fe6f3f242d
Merge pull request #52719 from Calinou/doc-msdf-font-rendering
...
Improve documentation related to MSDF font rendering
2021-09-15 22:55:24 +02:00
Max Hilbrunner
4dee269f01
Merge pull request #52656 from akien-mga/rename-vseditor-singleton
...
Rename VisualScriptEditor singleton to VisualScriptCustomNodes
2021-09-15 22:51:45 +02:00
Hugo Locurcio
9ed55b2125
Improve documentation related to MSDF font rendering
2021-09-15 20:04:57 +02:00
Fabio Alessandrelli
d187bb4e11
[HTML5] Use browser mix rate by default on the Web.
...
Browsers doesn't really like forcing the mix rate, e.g. Firefox does not
allow input (microphone) if the mix rate is not the default one, Chrom*
will exhibit worse performances, etc.
2021-09-15 11:56:21 +02:00
Hugo Locurcio
9b1986fb9c
Rename osx
to macos
in input map feature tag handling
...
This follows the general feature tag rename for 4.0.
2021-09-15 03:12:18 +02:00
PouleyKetchoupp
bb75aec8bc
Rename WorldMarginShape to WorldBoundaryShape
2021-09-14 11:16:31 -07:00
Hugo Locurcio
f7f8ae6372
Document caveats with StyleBoxFlat antialiasing and beveled corners
2021-09-14 18:49:00 +02:00
georgespatton
fd8bdddd5d
doc: Clarify need to save ConfigFile to apply changes to file
...
See #52645 for context.
2021-09-14 14:52:26 +02:00
Rémi Verschelde
f1dca7760c
Rename VisualScriptEditor singleton to VisualScriptCustomNodes
...
Follow-up to #51916 , fixes inconsistency between singleton name and class
as documented in https://github.com/godotengine/godot/issues/52162#issuecomment-918979753 .
2021-09-14 11:31:01 +02:00
Rémi Verschelde
8ecc571158
Merge pull request #49063 from Calinou/remove-16x-msaa
...
Remove 16× MSAA support due to driver bugs and low performance
2021-09-13 17:34:04 +02:00
Rémi Verschelde
4059cf2f02
Merge pull request #52068 from ThreeRhinosInAnElephantCostume/fixgdscript
...
Fix parse error on statement-less files with only newlines, add a warning for empty files.
2021-09-13 17:30:31 +02:00
mechPenSketch
9ea619c486
Add Graph Illustrations to Doc
2021-09-13 21:04:29 +08:00
Hugo Locurcio
f85426e8ad
Merge pull request #51805 from skysphr/scrollbar-icons-pressed
...
Added increment_pressed and decrement_pressed icons to scrollbars
2021-09-13 14:57:21 +02:00
Rémi Verschelde
dde48ebed6
Merge pull request #52298 from DeleteSystem32/meshlib-transform
...
implement individual mesh transform for meshlibrary items
2021-09-13 12:19:30 +02:00
Max Hilbrunner
9d4c84e154
Merge pull request #52587 from zacryol/call_example_change
...
Change example used for StringName call methods
2021-09-13 02:57:21 +02:00
Max Hilbrunner
fbd326b1f3
Merge pull request #52614 from Calinou/doc-get-class-name
...
Document `Object.get_class()/is_class()` ignores `class_name` declaration
2021-09-13 02:42:58 +02:00
Hugo Locurcio
a15847e5ca
Document Object.get_class()/is_class()
ignores class_name
declaration
2021-09-13 02:17:24 +02:00
Hugo Locurcio
4a745aa0b8
Improve documentation for Engine.get_process_frames/get_physics_frames()
2021-09-12 23:07:40 +02:00
Jummit
a6108f8a3d
clarify what duplicate does and its limitations
2021-09-12 09:18:52 +02:00
zacryol
b587c77cb2
Change example used for StringName call methods
...
Co-authored-by: Raul Santos <raulsntos@gmail.com>
2021-09-11 19:11:57 -06:00
Juan Linietsky
8aedcfced7
Merge pull request #52504 from V-Sekai/gltf_8_uv
...
8 uvs for glTF2, URI decode and Vertex Custom api
2021-09-11 16:42:35 -03:00
ThreeRhinosInAnElephantCostume
e99730340b
Fix error on parsing statement-less GDScript files,
...
add an empty file warning,
add relevant tests.
2021-09-11 20:38:15 +02:00
Hugo Locurcio
9c6ae95cb2
Document that ConfigFiles can use any file extension
...
The file extension given to a ConfigFile has no impact on its
formatting or behavior.
2021-09-11 16:08:11 +02:00
Haoyu Qiu
d2aef4c439
Expose enum related methods in ClassDB
2021-09-11 20:33:05 +08:00
Juan Linietsky
6679790fac
Merge pull request #52406 from ellenhp/libvorbis
...
Replace stb_vorbis with libvorbis
2021-09-10 16:24:59 -03:00
Lyuma
aca4b737f1
8 uvs for glTF2, URI decode and Vertex Custom api.
...
Add glTF2 uri decode for paths.
Add vertex custom apis.
Add scene importer api.
Change Color to float; add support for float-based custom channels in SurfaceTool and EditorSceneImporterMesh
Co-authored-by: darth negative hunter
<thenegativehunter2@users.noreply.github.com>
2021-09-10 09:16:48 -07:00
Max Hilbrunner
8f8744a563
Merge pull request #52433 from groud/document_tiles
...
Tiles renames and documentation
2021-09-10 16:32:19 +02:00
Ellen Poe
f5d9c7b487
Replace stb_vorbis with libogg+libvorbis
2021-09-09 19:39:04 -07:00
Juan Linietsky
729461b2a4
Merge pull request #51158 from YeldhamDev/potgen_enhancements
...
Make some enhancements to the POT generation
2021-09-09 20:21:29 -03:00
Juan Linietsky
d0a7eeaaff
Merge pull request #44844 from KoBeWi/hey_listen!_but_2d
...
Add Listener2D
2021-09-09 19:19:10 -03:00
Juan Linietsky
3c554f09ea
Merge pull request #52252 from Calinou/sdfgi-use-light-indirect-energy
...
Use the Light3D Indirect Energy property in SDFGI
2021-09-09 17:17:48 -03:00
Vincent
70108fd850
implement individual mesh transform for meshlibrary items
2021-09-09 16:40:16 +02:00
Juan Linietsky
3174e2782c
Merge pull request #52203 from BastiaanOlij/expose_vulkan_info_to_extensions
...
Expose Vulkan internal values for access from extensions
2021-09-09 10:51:20 -03:00
Bastiaan Olij
506ae80876
Expose Vulkan internal values for access from extensions
2021-09-09 22:28:32 +10:00
Max Hilbrunner
7b846e3f01
Merge pull request #46656 from zaksnet/improve-thread-docs
...
Improve documentation for Thread
2021-09-09 14:10:35 +02:00
Max Hilbrunner
43a9a9f680
Merge pull request #49605 from likeich/jnisingleton_docs
...
Wrote JNISingleton docs
2021-09-09 13:53:25 +02:00
Max Hilbrunner
e73eecfec5
Merge pull request #50336 from SirQuartz/patch-20
...
Add description to `Viewport`
2021-09-09 04:06:10 +02:00
Max Hilbrunner
7413dcb4f4
Merge pull request #52306 from CinchBlue/master
...
Add "Physics intro" docs link for State classes
2021-09-09 04:02:36 +02:00
Fabio Alessandrelli
fd17ce1890
Merge pull request #52494 from mhilbrunner/rset-into-the-sunset
...
Docs: Remove references to (removed) RSETs
2021-09-08 16:57:10 +02:00
Gilles Roudière
0c85f3acc1
Tiles renames/bugfixing and documentation
2021-09-08 15:52:43 +02:00
Max Hilbrunner
ff33ead8bd
Merge pull request #52310 from Calinou/doc-node-groups-unordered
...
Document that node groups don't have a guaranteed order
2021-09-08 14:54:58 +02:00
Max Hilbrunner
b1430d8c2d
Docs: Remove references to (removed) RSETs
2021-09-08 14:37:22 +02:00
Fabio Alessandrelli
fd0a2b6cde
Merge pull request #52480 from mhilbrunner/network-rename
...
Multiplayer networking renames/simplification
2021-09-08 14:20:58 +02:00
Gilles Roudière
f05b449562
Merge pull request #52470 from mhilbrunner/use-encryption-and-dont-get-secrets
...
Add new docs warning from HTTPRequest to HTTPClient
2021-09-08 12:55:58 +02:00
Gilles Roudière
197d9e2bbb
Merge pull request #52173 from AstroStucky/improve-camera2d-doc
...
Clarified how Camera2D's current property works with Viewports.
2021-09-08 12:16:04 +02:00
Max Hilbrunner
5b25457794
Multiplayer networking renames/simplification
...
Removes _networking_ prefix from some methods and members, now that multiplayer has been largely moved out of Node and SceneTree and is seperated into its own set of classes.
2021-09-08 12:05:54 +02:00
Juan Linietsky
ca11f8ad30
Merge pull request #52237 from ellenhp/polyphony
...
Add optional polyphonic playback to built-in audio player nodes
2021-09-07 17:38:51 -03:00
Max Hilbrunner
5b49c6bba4
Fix docs for Array's slice()
2021-09-07 21:40:21 +02:00
Juan Linietsky
58388f8cec
Merge pull request #47391 from Calinou/platform-feature-tags-lowercase
...
Make platform feature tag names lowercase
2021-09-07 16:30:50 -03:00
Max Hilbrunner
90283b6645
Add new docs warning from HTTPRequest to HTTPClient
2021-09-07 18:55:15 +02:00
Max Hilbrunner
72ac470615
Merge pull request #52381 from arthurpaulino/httprequest-note-improvement-2
...
Another improvement on the HTTPRequest documentation
2021-09-07 18:47:29 +02:00
Ellen Poe
0e3cab41eb
Add polyphony to Audio Stream Player nodes
2021-09-07 09:44:39 -07:00
Max Hilbrunner
acc776f7b6
Merge pull request #52442 from Faless/mp/4.x_rpc_manager
...
[Net] Move multiplayer classes to own subfolder. Split RPC from MultiplayerAPI.
2021-09-07 18:44:39 +02:00
Max Hilbrunner
0cb22ff0a3
Merge pull request #52425 from HaSa1002/doc-slice-invalid-end
...
Specify description of `Array.slice`s end parameter
2021-09-07 18:21:48 +02:00
Juan Linietsky
93aa158b5e
Merge pull request #52277 from groud/implement_array_property_hint
...
Implement properties arrays in the Inspector.
2021-09-07 11:59:46 -03:00
Arthur Paulino
75530c5977
security tip when sending sensitive data on HTTP requests
2021-09-07 11:48:31 -03:00
Fabio Alessandrelli
bf9aae09ba
[Net] Move multiplayer to core subdir, split RPCManager.
...
Move multiplayer classes to "core/multiplayer" subdir.
Move the RPCConfig and enums (TransferMode, RPCMode) to a separate
file (multiplayer.h), and bind them to the global namespace.
Move the RPC handling code to its own class (RPCManager).
Renames "get_rpc_sender_id" to "get_remote_sender_id".
2021-09-07 11:14:30 +02:00
Gilles Roudière
88c3e3180a
Merge pull request #52050 from nobuyukinyuu/bind-get-tab-idx-at-point-40
...
Bind TabContainer::get_tab_idx_at_point() to ClassDB
2021-09-07 11:09:35 +02:00
Gilles Roudière
4bd7700e89
Implement properties arrays in the Inspector.
2021-09-07 09:51:28 +02:00
Bastiaan Olij
461d31427c
Merge pull request #52205 from BastiaanOlij/blit_source_rect
...
Add source rectangle to blit
2021-09-07 09:21:13 +10:00
Bastiaan Olij
76b83ff615
Merge pull request #52405 from BastiaanOlij/xr_extension_missing_names
...
Add missing parameter names to _commit_views GDVIRTUAL_BIND
2021-09-07 09:20:49 +10:00
PouleyKetchoupp
82ea2a7045
Proper support for custom mass properties in 2D/3D physics bodies
...
Changes:
-Added support for custom inertia and center of mass in 3D
-Added support for custom center of mass in 2D
-Calculated center of mass from shapes in 2D (same as in 3D)
-Fixed mass properties calculation with disabled shapes in 2D/3D
-Removed first_integration which is not used in 2D and doesn't seem to
make a lot of sense (prevents omit_force_integration to work during the
first frame)
-Support for custom inertia on different axes for RigidBody3D
2021-09-06 10:20:16 -07:00
Camille Mohr-Daurat
e1ae2708ee
Merge pull request #52271 from nekomatata/query-layer-default-mask
...
Harmonize default value for collision mask in ray/shape queries
2021-09-06 09:33:18 -07:00
Camille Mohr-Daurat
a93fb2655a
Merge pull request #52286 from nekomatata/restore-kinematic-body
...
Add AnimatableBody inherited from StaticBody for moving platforms
2021-09-06 09:32:46 -07:00
follower
022f49437b
Fix the "AudioEffectRecord" descriptions.
...
The `AudioEffectRecord` effect has no microphone capture-specific functionality--it can be used with any audio bus.
This patch attempts to clarify this fact (so people like me who want to capture audio output know they're in the right place) while still providing a pointer use of the effect with `AudioStreamMicrophone` for microphone capture.
2021-09-07 01:45:22 +12:00
Johannes Witt
48a8a59ad7
Specify description of Array.slices end parameter
2021-09-05 21:49:57 +02:00
Bastiaan Olij
32ddcaf15e
Add missing parameter names to _commit_views GDVIRTUAL_BIND
2021-09-05 11:51:13 +10:00
Hugo Locurcio
879c37d658
Rename Node's NOTIFICATION_PATH_CHANGED
to NOTIFICATION_PATH_RENAMED
...
The new name is less misleading, as the notification is only emitted
when the node name (or one of its parents' names) is changed.
2021-09-04 00:15:15 +02:00
Arthur Paulino
1ed3d9a0b0
improving note on HTTPRequest class under the request method documentation
2021-09-03 11:10:33 -03:00
Michael Alexsander
ee4b0108e0
Make some enhancements to the POT generation
2021-09-02 11:12:54 -03:00
Gilles Roudière
c97afc033f
Merge pull request #38722 from KoBeWi/proposition
...
Add offset for TextureProgress progress texture
2021-09-01 16:20:05 +02:00
Hugo Locurcio
0adf1a6683
Document that node groups don't have a guaranteed order
2021-09-01 15:36:51 +02:00
Austin Tasato
ce8eb09a25
Add "Physics intro" docs link for State classes
2021-09-01 06:03:03 -07:00
George Marques
8259a3b1c2
Merge pull request #51987 from aaronfranke/fix-docs-gdvirtual
...
Fix docs after GDVIRTUAL pull request
2021-09-01 09:39:35 -03:00
kobewi
e78ee616f7
Add offset for TextureProgress progress texture
2021-09-01 14:39:08 +02:00
George Marques
25ae279317
Merge pull request #52270 from KoBeWi/goodbye_polar
...
Remove cartesian2polar and polar2cartesian
2021-09-01 09:33:13 -03:00
George Marques
cf59028972
Merge pull request #48237 from KoBeWi/they_came_from_angle
...
Add Vector2.from_angle() method
2021-09-01 09:32:42 -03:00
PouleyKetchoupp
83baecdff0
Add AnimatableBody inherited from StaticBody for moving platforms
...
Instead of having a physics node named Static that can be either Static
or Kinematic, AnimatableBody is added again as a separate node:
-Inherited from StaticBody to make its usage clearer
-Still separated from CharacterBody to make its usage more focused
Properly implemented constant velocity for kinematic bodies in godot
physics servers (induced velocity without actually moving).
Also updated description for the different physics nodes to make their
usage clearer.
2021-08-31 18:14:32 -07:00
Hugo Locurcio
2daaf0fdc3
Make platform feature tag names lowercase
...
Feature tag names are still case-sensitive, but this makes built-in
feature tags more consistent.
- `Windows` -> `windows`
- `OSX` -> `osx`
- `LinuxBSD` -> `linuxbsd`
- `Android` -> `android`
- `iOS` -> `ios`
- `HTML5` -> `html5`
- `JavaScript` -> `javascript`
- `UWP` -> `uwp`
2021-08-31 20:34:44 +02:00
Juan Linietsky
7946066577
Merge pull request #49471 from nekomatata/body-state-sync-callback
...
Clean physics direct body state usage in 2D and 3D physics
2021-08-31 14:30:17 -03:00
kobewi
f2cb0a8d4b
Add Listener2D
2021-08-31 16:53:14 +02:00
Camille Mohr-Daurat
a9fcbb1001
Merge pull request #51364 from bengtsts/master
...
Expose soft body pin methods to GDScript
2021-08-31 07:41:34 -07:00
fabriceci
1a481c8191
Change platform detection by allowing select layers by type (wall or floor)
2021-08-31 09:59:04 +02:00
kobewi
3f3739ccb5
Add Vector2.from_angle() method
2021-08-31 01:53:58 +02:00
Juan Linietsky
bcd73fc00a
Merge pull request #52240 from Rubonnek/rename-rel-path
...
Rename `String::is_rel_path` to `String::is_relative_path`
2021-08-30 20:45:45 -03:00
PouleyKetchoupp
26bd432707
Harmonize default value for collision mask in ray/shape queries
...
The default mask for queries was 0, 0x7FFFFFFF or 0xFFFFFFFF depending
on the cases.
Now always using 0xFFFFFFFF (in the form of UINT32_MAX to make it clear)
in order to use all layers by default.
2021-08-30 16:42:49 -07:00
kobewi
017c94222e
Remove cartesian2polar and polar2cartesian
2021-08-31 01:41:41 +02:00
Bengt Söderström
3a323c4b97
Documented soft body pinning methods
2021-08-30 21:48:52 +02:00
Hugo Locurcio
2c507cd426
Use the Light3D Indirect Energy property in SDFGI
...
The Indirect Energy property was previously ignored in SDFGI
(unlike VoxelGI).
2021-08-30 14:53:03 +02:00
Wilson E. Alvarez
d11c1afc04
Rename String::is_rel_path to String::is_relative_path
2021-08-29 20:41:29 -04:00
Fabio Alessandrelli
64b9f30b92
[Net] Rename RPC "puppet" to "auth" (authority). Drop "master".
...
This commit completely removes the RPC_MODE_MASTER ("master" keyword),
and renames the RPC_MODE_PUPPET to RPC_MODE_AUTHORITY ("auth" keyword).
This commit also renames the "Node.[get|set]_network_master" methods to
"Node.[get|set]_network_authority".
This commit also renames the RPC_MODE_REMOTE constant to RPC_MODE_ANY.
RPC_MODE_MASTER in Godot 3.x meant that a given RPC would be callable by
any puppet peer on the master, while RPC_MODE_PUPPET meant that it would
be callable by the master on any puppet.
Beside proving to be very confusing to the user (referring to where it
could be called instead of who can call it) the RPC_MODE_MASTER is quite
useless. It is almost the same as RPC_MODE_REMOTE (anyone can call) with
the exception that the network master cannot. While this could be useful
to check in some case, in such a function you would anyway need to check
in code who is the caller via get_rpc_sender_id(), so adding the check
there for those rare cases does not warrants a dedicated mode.
2021-08-30 00:54:38 +02:00
Fabio Alessandrelli
838a449d64
Merge pull request #51788 from Faless/mp/4.x_replicator_sync
...
[Net] MultiplayerReplicator state sync.
2021-08-30 00:48:10 +02:00
Juan Linietsky
72bf79186e
Merge pull request #30391 from KoBeWi/hiding_children
...
Add support for internal nodes
2021-08-29 19:36:30 -03:00
Juan Linietsky
07707a3627
Revert "Display a matrix for Node2D and don't display a duplicate origin"
2021-08-29 17:01:07 -03:00
Aaron Franke
ee7bb9bbb9
Display a matrix for Node2D and don't display a duplicate origin
2021-08-29 10:34:50 -05:00
nobuyuki_nyuu
65d83cc99b
Bind TabContainer::get_tab_idx_at_point() to ClassDB
2021-08-29 09:10:44 -05:00
Bastiaan Olij
fbac863bfb
Add source rectangle to blit
2021-08-29 14:57:16 +10:00
Max Hilbrunner
a2473d7ebe
Fix Array class docs after #47406
2021-08-28 22:17:41 +02:00
Bastiaan Olij
b9c64df69b
Fix double named size parameter
2021-08-28 13:30:43 +10:00
kobewi
a913ae8d56
Add support for internal nodes
2021-08-28 02:07:23 +02:00
Thomas Stucky
3d586c7ba3
Clarified how Camera2D's current property works with Viewports.
2021-08-27 18:04:34 -06:00
Max Hilbrunner
4e67e9bca6
Merge pull request #52090 from balloonpopper/bug52060
...
Correct null and boolean values being capitalised by the str command
2021-08-27 21:05:47 +02:00
Ellen Poe
53843ba872
Require AudioStream::mix to return the number of frames successfully mixed
2021-08-27 10:27:58 -07:00
K. S. Ernest (iFire) Lee
90a35dac48
Merge pull request #51908 from bruvzg/msdf_fonts2
...
Make FontData importable resource. Add multi-channel SDF font rendering.
2021-08-27 08:51:37 -07:00
Camille Mohr-Daurat
ca4f20529c
Merge pull request #51896 from nekomatata/restore-ray-shape
...
Refactor RayShape and rename to SeparationRayShape
2021-08-27 08:49:49 -07:00
Max Hilbrunner
fec7516010
Merge pull request #52129 from AnilBK/skeleton2d-ik-doc
...
Document how to use IK in skeleton2D.
2021-08-27 17:49:17 +02:00
bruvzg
4c3f7d1290
Makes FontData importable resource.
...
Adds multi-channel SDF font texture generation and rendering support.
Adds per-font oversampling support.
Adds FontData import plugins (for dynamic fonts, BMFonts and monospaced image fonts), font texture cache pre-generation and loading.
Adds BMFont binary format and outline support.
2021-08-27 15:43:18 +03:00
Gilles Roudière
94e00216b4
Merge pull request #37209 from Calinou/add-array-pop-method
...
Add an `Array.pop_at()` method to pop an element at an arbitrary index
2021-08-27 09:36:30 +02:00
Anilforextra
bd1a654e99
Document how to use IK in skeleton2D.
2021-08-27 09:54:24 +05:45
Bastiaan Olij
c5f62fad90
Merge pull request #52003 from BastiaanOlij/xr_interface_extension
...
Adding GDExtension support to XRInterface
2021-08-27 11:51:43 +10:00
Hugo Locurcio
60116b17b5
Add an Array.pop_at()
method to pop an element at an arbitrary index
...
Negative indices are supported to pop an element relative from the end.
2021-08-27 00:51:17 +02:00
Juan Linietsky
d19b12dbd2
Merge pull request #52107 from timothyqiu/overriden
...
Fix misspelled "overriden"
2021-08-26 13:07:52 -03:00
Juan Linietsky
227ab24738
Merge pull request #51870 from BastiaanOlij/half_resolution_3d
...
Optionally render 3D content at scaled resolution
2021-08-26 10:24:48 -03:00
Bastiaan Olij
86ff7f8550
Adding GDExtension support to XRInterface
2021-08-26 23:24:44 +10:00
Juan Linietsky
eb940ca2a0
Merge pull request #51928 from reduz/extension-loader
...
Implement Extension Loader
2021-08-26 10:24:25 -03:00
Juan Linietsky
34e286d6a3
Merge pull request #52077 from reduz/error-ret-doc
...
Implement error return documentation
2021-08-26 08:42:06 -03:00
Bastiaan Olij
64626cc435
Optionally scale 3D render content
2021-08-26 20:48:40 +10:00
Balloonpopper
4fae7ae9dc
Correct null and boolean values being capitalised by the str command
2021-08-26 17:11:34 +10:00
Aaron Franke
02fa885402
Fix docs after GDVIRTUAL pull request
2021-08-25 19:45:27 -05:00
Juan Linietsky
5b01a3b3be
Merge pull request #52084 from reduz/engine-singleton-register
...
Add ability to register singletons from Engine API
2021-08-25 18:50:15 -03:00
K. S. Ernest (iFire) Lee
b3ada9cb1a
Merge pull request #51969 from Calinou/doc-image-generate-mipmaps-no-threading
...
Document `Image.generate_mipmaps()` always running on the main thread
2021-08-25 11:17:23 -07:00
Haoyu Qiu
eba7265a1c
Fix misspelled "overriden"
...
In recent GDVIRTUAL PR and SkeletonModification3DJiggle doc.
2021-08-26 01:44:01 +08:00
PouleyKetchoupp
6a9ed72185
Clean physics direct body state usage in 2D and 3D physics
...
Use a C++ callback instead of Callable for synchronizing physics nodes' state with physics servers.
Remove usage of PhysicsDirectBodyState in physics nodes when not
necessary.
Store PhysicsDirectBodyState for bodies individually instead of a
singleton to avoid issues when accessing direct body state for multiple
bodies.
PhysicsDirectBodyState is initialized only when needed, so it doesn't
have to be created when using the physics server directly.
Move PhysicsDirectBodyState2D and PhysicsDirectBodyState3D to separate
cpp files.
2021-08-25 08:57:42 -07:00
Max Hilbrunner
4bb65b2bc6
Merge pull request #52023 from mhilbrunner/vs-fix-reloaded
...
Fix VisualScriptEditor after namespaces
2021-08-25 14:41:28 +02:00
reduz
e2f8df8c5b
Add ability to register singletons from engine API
...
* Exposed functions in Engine to register and unregister singletons.
* Added the concept of user singletons, which can be removed (the system ones can't).
2021-08-25 08:32:25 -03:00
Hugo Locurcio
bb0122c933
Merge pull request #48374 from Calinou/gradienttexture-add-hdr-property
...
Add an `use_hdr` property to GradientTexture to allow storing HDR colors
2021-08-25 08:03:34 +02:00
Hugo Locurcio
7192852da3
Remove 16× MSAA support due to driver bugs and low performance
...
In the `master` branch, 16× MSAA caused the entire system to freeze
on NVIDIA GPUs. This is likely caused by graphics drivers not actually
implementing 16× MSAA, but combining 8× MSAA with 2× SSAA instead.
On top of that, modern shader complexity makes 16× MSAA very difficult
to use while keeping a good framerate. 8× MSAA is hard enough to use
as it is.
2021-08-25 07:56:27 +02:00
PouleyKetchoupp
3d5dc80348
Rename RayShape to SeparationRayShape
...
Makes it clearer that it's used for special cases when picking a
collision shape.
2021-08-24 17:34:55 -07:00
PouleyKetchoupp
aa4791735d
Rename slips_on_slope to slide_on_slope
...
Also added some precision to the documentation.
2021-08-24 17:34:55 -07:00
PouleyKetchoupp
d9720d4395
Fix CharacterBody motion with RayShape
...
Make separation ray shapes work properly in move_and_slide, wihtout the
specific code in CharacterBody like before.
Now most of the logic is handled inside the physics server. The only
thing that's needed is to use ray shapes only for recovery and ignore
them when performing the motion itself (unless we're snapping or slips
on slope is on).
2021-08-24 17:34:55 -07:00
PouleyKetchoupp
45c7af9862
Restore RayShape as a regular shape type
...
Partial revert from previously removing ray shapes completely, added
back as a shape type but without the specific character controller code.
2021-08-24 16:03:05 -07:00
reduz
96f8254b24
Implement error return documetation
...
Adds ability to add error return documetation to the binder and class reference.
Usage example:
```C++
void MyClass::_bind_method() {
[..]
BIND_METHOD_ERR_RETURN_DOC("load", ERR_FILE_CANT_OPEN, ERR_FILE_UNRECOGNIZED);
}
```
One function of ConfigFile was changed as example.
2021-08-24 15:28:29 -03:00