Age | Commit message (Collapse) | Author |
|
CanvasItem::get_screen_transform returns a transform from the CanvasItem
to the coordinate system, where a Popup - created as a child of the
CanvasItem - should be opened.
get_screen_transform makes some simplifications, that work well, when used
in the editor, but not in general cases.
Since Popups like Tooltips are now used more commonly in projects,
it becomes necessary to correct these simplifications.
This solution introduces Viewport::get_popup_base_transform, which makes
the necessary calculations.
|
|
Fixes https://github.com/godotengine/godot/issues/68463
|
|
[Line Edit] Ignore placeholder text when drawing caret.
|
|
Allow canceling Drag and Drop with the Escape-Key
|
|
Fix `Shader::has_parameter` to return a correct value
|
|
Fix SubViewport with default size being pink
|
|
Fix deprecated mesh conversion
|
|
|
|
|
|
|
|
|
|
|
|
A Vector<>-variant can't be used in an Object::cast_to, because
Vector doesn't inherit from Object and this cast always returns a nullptr.
This patch replaces the Object::cast_to and accesses the contained
Vector directly.
|
|
This patch implements the functionality to cancel Drag and Drop
by using the escape key or more general, the ui_cancel action.
Since this would be the third location, where the finalization of
Drag and Drop would have to be implemented, that functionality was
put into the private function _perform_drop.
Simplified gui.drag_data.get_type() != Variant::NIL to gui.dragging
because they are equivalent.
|
|
|
|
|
|
Rename GPUParticles2D/3D's `trail_length_secs` to `trail_lifetime`
|
|
The property already has a "seconds" suffix in the inspector.
The "lifetime" term makes it more obvious that the property is
specified as time, not a distance in units.
The property hint now allows manually entering values greater than
10 seconds.
The internal rendering value's default now matches the particles
nodes' default.
|
|
Fixes mouse click deselect for multi and single carets
|
|
Code simplifications
|
|
A SubViewport with default-size doesn't display its content, but shows
pink color, until it is resized.
This patch makes sure, that the size gets set during initialization.
|
|
Update XRServer with starting position of (new) current XROrigin3D
|
|
CanvasItemEditor:
- p_result == ADD_MOVE is always true in this switch-clause
- both parts of the if-else-clause do the same thing and simplified an affine_inverse call
ControlEditorToolbar:
- private function ControlEditorToolbar::_anchor_to_position is used nowhere. Looks like
copy and paste from CanvasItemEditor::_anchor_to_position
ScrollContainer:
- screen_is_touchscreen is always true, because otherwise the function already returned
TextLine:
- both parts of the if-else-clause do the same thing and simplified return statement
|
|
mouse position
Fixes and closes #67993.
|
|
Correctly deletes multi-caret selection with backspace
|
|
|
|
Fixes and closes #67992
|
|
|
|
Add `set_value_no_signal()` to Range
|
|
Modularize the Color Picker via properties and new picker mode.
|
|
Fix typo in method (set_transparecy) of visual_instance_3d
|
|
Fix terrain painting in corner-only matching mode
|
|
|
|
|
|
|
|
Antialiasing cannot be adjusted on fonts rendered with MSDF.
Internally, Godot always uses grayscale antialiasing for those fonts.
This also tweaks property hints for consistency, and renames
uses of "sub-pixel" to the more commonly used "subpixel".
|
|
Unify Node3D RotationOrder with global EulerOrder
|
|
Add a separate hue gradient for OKHSL mode
|
|
|
|
Move EulerOrder enum to math_defs.h and global scope
|
|
Rename Image's `get_rect` to `get_region`
|
|
YeldhamDev/we_really_need_a_callback_for_after_children_is_removed
Fix problems with `tab_changed` signal when removing multiple tabs at once
|
|
Style: Misc docs and comment style and language fixes
|
|
|
|
|
|
- Removed empty paragraphs in XML.
- Consistently use bold style for "Example:", on a new line.
- Fix usage of `[code]` when hyperlinks could be used (`[member]`, `[constant]`).
- Fix invalid usage of backticks for inline code in BBCode.
- Fix some American/British English spelling inconsistencies.
- Other minor fixes spotted along the way, including typo fixes with codespell.
- Don't specify `@GlobalScope` for `enum` and `constant`.
|
|
Unified shortcut to clear carets and selections from TextEdit
|
|
[MP] Add peer authentication support to the default MultiplayerAPI.
|
|
Add `ShapeCast2D/3D::get_collider_rid` method
|
|
Add alignment options to flow container
|