summaryrefslogtreecommitdiff
path: root/scene
AgeCommit message (Collapse)Author
2023-01-26Fix position of TooltipsMarkus Sauermann
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.
2022-11-12Merge pull request #68477 from dzil123/visual_shader_ufunc_input_fixYuri Rubinsky
Fixes https://github.com/godotengine/godot/issues/68463
2022-11-11Merge pull request #68412 from bruvzg/le_caret_plRémi Verschelde
[Line Edit] Ignore placeholder text when drawing caret.
2022-11-11Merge pull request #68418 from Sauermann/fix-escape-dndRémi Verschelde
Allow canceling Drag and Drop with the Escape-Key
2022-11-11Merge pull request #68513 from Chaosus/fix_shader_paramRémi Verschelde
Fix `Shader::has_parameter` to return a correct value
2022-11-11Merge pull request #68358 from Sauermann/fix-pink-512-viewportRémi Verschelde
Fix SubViewport with default size being pink
2022-11-11Merge pull request #68428 from nikitalita/fix-mesh-convertRémi Verschelde
Fix deprecated mesh conversion
2022-11-11Fix `Shader::has_parameter` to return a correct valueYuri Rubinsky
2022-11-10fix old mesh conversion offsetsnikitalita
2022-11-10Visual Shader UVFunc keep existing input value on function changedzil123
2022-11-09Merge pull request #68413 from Chaosus/fix_instance_uniformsYuri Rubinsky
2022-11-09Some fixes for instance shader parametersYuri Rubinsky
2022-11-08Fix crash from impossible Object::cast_toMarkus Sauermann
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.
2022-11-08Allow canceling Drag and Drop with the Escape-KeyMarkus Sauermann
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.
2022-11-08[Line Edit] Ignore placeholder text when drawing caret.bruvzg
2022-11-08Remove duplicate project settings definitionskobewi
2022-11-07Merge pull request #68346 from Calinou/particles-rename-trail-length-propertyRémi Verschelde
Rename GPUParticles2D/3D's `trail_length_secs` to `trail_lifetime`
2022-11-07Rename GPUParticles2D/3D's `trail_length_secs` to `trail_lifetime`Hugo Locurcio
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.
2022-11-07Merge pull request #68337 from alfredbaudisch/multi-caret-selection-fixRémi Verschelde
Fixes mouse click deselect for multi and single carets
2022-11-07Merge pull request #68351 from Sauermann/fix-code-simplificationsRémi Verschelde
Code simplifications
2022-11-07Fix SubViewport with default size being pinkMarkus Sauermann
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.
2022-11-07Merge pull request #68321 from BastiaanOlij/xrorigin_start_posRémi Verschelde
Update XRServer with starting position of (new) current XROrigin3D
2022-11-07Code simplificationsMarkus Sauermann
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
2022-11-06Mouse click deselect removes secondary carets and puts primary caret under ↵Alfred Reinold Baudisch
mouse position Fixes and closes #67993.
2022-11-06Merge pull request #68282 from alfredbaudisch/backspace-multi-careRémi Verschelde
Correctly deletes multi-caret selection with backspace
2022-11-06Update XRServer with starting position of (new) current XROrigin3DBastiaan Olij
2022-11-05Pass caret index when deleting selection with backspaceAlfred Reinold Baudisch
Fixes and closes #67992
2022-11-04Add call_deferred() method to Callablekobewi
2022-11-04Merge pull request #68097 from KoBeWi/no_signal🔕Rémi Verschelde
Add `set_value_no_signal()` to Range
2022-11-04Merge pull request #67741 from cridenour/modular-color-pickerRémi Verschelde
Modularize the Color Picker via properties and new picker mode.
2022-11-04Merge pull request #68228 from pasi1991/fix_typo_in_visual_instance_3dRémi Verschelde
Fix typo in method (set_transparecy) of visual_instance_3d
2022-11-04Merge pull request #68222 from groud/fix_corner_terrain_paintingRémi Verschelde
Fix terrain painting in corner-only matching mode
2022-11-04Modularize the Color Picker via properties.Chris Ridenour
2022-11-03Fix typo in method of visual_instance_3dPatrick Siemsen
2022-11-03Fix terrain painting in corner-only matching modeGilles Roudière
2022-11-03Hide Antialiasing import option on DynamicFonts with MSDF enabledHugo Locurcio
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".
2022-11-03Merge pull request #68192 from aaronfranke/unify-node3d-eulerRémi Verschelde
Unify Node3D RotationOrder with global EulerOrder
2022-11-03Merge pull request #67540 from KoBeWi/hue_hue_hueRémi Verschelde
Add a separate hue gradient for OKHSL mode
2022-11-02Unify Node3D RotationOrder with global EulerOrderAaron Franke
2022-11-02Merge pull request #66747 from aaronfranke/move-euler-orderRémi Verschelde
Move EulerOrder enum to math_defs.h and global scope
2022-11-02Merge pull request #66017 from Mickeon/rename-image-copy-rectRémi Verschelde
Rename Image's `get_rect` to `get_region`
2022-11-02Merge pull request #67928 from ↵Rémi Verschelde
YeldhamDev/we_really_need_a_callback_for_after_children_is_removed Fix problems with `tab_changed` signal when removing multiple tabs at once
2022-11-02Merge pull request #68120 from akien-mga/style-doc-cleanupRémi Verschelde
Style: Misc docs and comment style and language fixes
2022-11-02Fixup Clang -Wtype-limits warnings introduced by #52350Rémi Verschelde
2022-11-02Move EulerOrder enum to math_defs.h and global scopeAaron Franke
2022-11-02Style: Misc docs and comment style and language fixesRémi Verschelde
- 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`.
2022-11-02Merge pull request #68170 from alfredbaudisch/clear-selection-shortcutRémi Verschelde
Unified shortcut to clear carets and selections from TextEdit
2022-11-02Merge pull request #67917 from Faless/mp/4.x_authRémi Verschelde
[MP] Add peer authentication support to the default MultiplayerAPI.
2022-11-02Merge pull request #68137 from kleonc/shape-cast-get-collider-ridRémi Verschelde
Add `ShapeCast2D/3D::get_collider_rid` method
2022-11-02Merge pull request #67788 from 98teg/flow-container-alignmentRémi Verschelde
Add alignment options to flow container