Age | Commit message (Collapse) | Author |
|
Made serialization of Command toggleable when saving InputEvents.
|
|
Made serialization of Command optional. If command is serialized, Control (On Win/Linux) or Meta (on Mac) are not.
Example use case: You are on Windows and you set a shortcut to be Control + E. This would serialize as Command=true and Control=true. If you then run this project on Mac, you would need to press Command AND Control to activate the shortcut - which is not what is intended. Now, you can set store_command to true, and it will only serialize to Command = true (no Control serialized). On Windows, this means Control. On Mac, it means only command.
|
|
|
|
|
|
Copied relevant documentation from the original `@GDScript` built-ins,
which will likely be removed in a future commit.
Various fixups to `variant_utility.cpp` while working on this.
|
|
Clarify Curve3D.get_point_{in,out} position in doc.
|
|
I verified this experimentally. I added a point at roughly (1,0,0), and
dragged a handle back to the origin. The result was:
```
get_point_position: (0.991079, 0, -0.000069)
get_point_in: (0.993409, 0, 0)
get_point_out: (-0.993409, 0, 0)
```
|
|
Correct the doc about Tree.get_edited
|
|
Clarify packet peer `max_buffer_po2` in ProjectSettings documentation
|
|
This closes https://github.com/godotengine/godot-docs/issues/4364.
|
|
Rename the `type` parameter to `node_type` in Theme and Control
|
|
Improve the Dictionary class documentation
|
|
Remove the unnecessary sync() and the restrictions it imposes on 3D Physics.
|
|
Allow getting Input "axis" and "vector" values by specifying multiple actions
|
|
Docs: Port code examples to C# (M, N, O, P, Q, R)
|
|
- Mention Lua-style syntax.
- Make the code samples self-contained.
- Mention caveat with `const` (also in Array).
- Clarify the description of `size()`.
This closes https://github.com/godotengine/godot-docs/issues/4272.
|
|
|
|
|
|
|
|
Make Path3D handles visible and consistent with 2D.
|
|
Resolves godotengine/godot-proposals#1246.
It is difficult to tell the difference between the handles for adjusting
curves and the points themselves when looking at a Path gizmo.
This re-uses the icons used for Path2D.
Unlike Path2D, this does not use a different icon for smooth vs sharp
points, as using a potentially different material for each point would
prevent batching the points in add_handles (and adding them out-of-order
messes up other logic based on handle indices).
This includes a public API change to allow specifying a texture for a
handle material. This allows spatial gizmo plugins to customize the way
a handle is rendered, if desired, but does not break existing behavior
(as providing no texture uses the default).
The path handle icons were resized as well. 16x16 is the standard icon
size. These icons were 10x10 rather than 16x16, and appeared rather
small in the editor.
To resize, I:
- Opened the original in Inkscape
- Resized the document to 16x16
- Opened the transform dialog
- Scaled by 160% proportionally
- Used Align/Distribute to center on the page
- Saved the document
- Cleaned with `svgcleaner --multipass`
|
|
Docs: MeshDataTool: showcase tool in code example
|
|
|
|
|
|
Expose LineEdit scroll offset to scripts
|
|
For get_vector, use raw values and handle deadzones appropriately
|
|
|
|
doc: Add template to document Variant operators, fixups to #43419
|
|
|
|
KoBeWi/add_an_array_to_another_array_but_with_a_method
Add append_array() method to Array class
|
|
|
|
Follow up to #43356
|
|
Add docs for editor viewport drawing methods
|
|
Change DocData comparators for MethodDoc and ArgumentDoc to get a better
ordering of constructors.
|
|
Includes:
* MarginContainer
* NavigationPolygon
* Node
* NodePath
* OS
* PackedByteArray
* PackedScene
* PacketPeerUDP
* PCKPacker
* Performance
* PhysicsShapeQueryParameters2D
* PhysicsShapeQueryParameters3D
* PrimitiveMesh
* ProjectSettings
Co-authored-by: Aaron Franke <arnfranke@yahoo.com>
|
|
Port code examples to C# (D and E)
|
|
|
|
Increase the default HTTPClient download chunk size to 64 KiB
|
|
Add `Image.load_bmp_from_buffer()` for run-time BMP image loading
|
|
This improves download speeds at the cost of increased memory usage.
This change also effects HTTPRequest automatically.
See #32807 and #33862.
|
|
|
|
Improve the documentation related to fullscreen and borderless settings
|
|
Document the supported TLS versions in HTTPRequest
|
|
Remove `Color.contrasted()` as its behavior is barely useful
|
|
It's non-deterministic so it's better to show a fixed value like 0 instead of
having it potentially change whenever `randomize()` is called.
Fixes #43317.
|
|
Includes various changes triggered by the refactoring of method bindings.
|
|
I don't know enough about grammar to say why the "ing" suffix is
correct, but I'm reasonably sure it is :)
|
|
Returning the most contrasting color isn't a trivial task, as there
are often many possible choices. It's usually best left for the user
to implement using a script.
|
|
The return type for `_make_custom_tooltip` is clarified as Control, and users
should make sure to return a visible node for proper size calculations.
Moreover in the current master branch, a PopupPanel will be added as parent
to the provided tooltip to make it a sub-window.
Clarifies documentation for `Control._make_custom_tooltip`, and shows how to
use the (until now undocumented) "TooltipPanel" and "TooltipLabel" theme types
to style tooltips.
Fixes #39677.
|
|
Alpha Hash and Alpha2Coverage Implementation
|