Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Compile certain `CanvasItem._edit_*()` functions with `DEBUG_ENABLED` | Michael Alexsander | 2024-11-02 | 1 | -3/+5 |
| | |||||
* | Improve make_canvas_position_local description | kobewi | 2024-10-24 | 1 | -1/+1 |
| | |||||
* | Merge pull request #91724 from KoBeWi/regional_textures | Rémi Verschelde | 2024-05-30 | 1 | -8/+19 |
|\ | | | | | | | Add support for AtlasTexture in `draw_polygon()` | ||||
| * | Add support for AtlasTexture in draw_polygon() | kobewi | 2024-05-08 | 1 | -8/+19 |
| | | |||||
* | | Use Core/Scene stringnames consistently | kobewi | 2024-05-13 | 1 | -1/+0 |
| | | |||||
* | | Add antialias support for CanvasItem draw primitives | Yaohua Xiong | 2024-05-13 | 1 | -17/+17 |
| | | | | | | | | | | | | including - rect, circle; both filled and unfilled. - polyline, multiline | ||||
* | | Add shorthand for using singleton string names | kobewi | 2024-05-11 | 1 | -6/+6 |
|/ | |||||
* | Extend `CanvasItem::draw_circle()` with filled, width, and antialiased options | Yaohua Xiong | 2024-05-02 | 1 | -3/+33 |
| | | | | Make it possible to draw unfilled circle, like draw_rect(). Antialising is only implemented for unfilled version. | ||||
* | Expose TileMapLayer | Gilles Roudière | 2024-04-03 | 1 | -5/+12 |
| | |||||
* | Fixed Timestep Interpolation (2D) | Ricardo Buring | 2024-03-23 | 1 | -0/+23 |
| | | | | | | | Adds fixed timestep interpolation to the rendering server (2D only). Switchable on and off with a project setting (default is off). Co-authored-by: lawnjelly <lawnjelly@gmail.com> | ||||
* | Make CanvasItem's "drawing outside of NOTIFICATION_DRAW" error a macro | Micky | 2024-03-09 | 1 | -28/+31 |
| | |||||
* | Expose `CanvasLayer::get_canvas_layer_node()` | TML | 2024-02-20 | 1 | -0/+6 |
| | |||||
* | Remove unecessary _set_global_invalid added by mistake | Gilles Roudière | 2024-01-18 | 1 | -2/+0 |
| | |||||
* | Merge pull request #87115 from groud/tilemap_layers_as_nodes | Yuri Sizov | 2024-01-17 | 1 | -0/+2 |
|\ | | | | | | | Make TileMapLayers extend Node2D and work as children of TileMap | ||||
| * | Make TileMapLayers extend Node2D and work as children of TileMap | Gilles Roudière | 2024-01-17 | 1 | -0/+2 |
| | | |||||
* | | Merge pull request #86841 from groud/fix_global_transform_in_enter_tree | Yuri Sizov | 2024-01-17 | 1 | -0/+1 |
|\ \ | |/ |/| | | | Fixes global transform being wrong on entering tree | ||||
| * | Fixes global transform being wrong on entering tree | Gilles Roudière | 2024-01-16 | 1 | -0/+1 |
| | | |||||
* | | Update deferred calls to use Callables | kobewi | 2024-01-09 | 1 | -3/+2 |
|/ | |||||
* | Revert "Fix transform notification not getting sent out for RigidBody2D" | Mikael Hermansson | 2023-11-14 | 1 | -7/+11 |
| | |||||
* | Fix transform notification not getting sent out for RigidBody2D | Mikael Hermansson | 2023-11-13 | 1 | -11/+7 |
| | |||||
* | Make mouse-enter/exit notifications match mouse event propagation | kit | 2023-11-09 | 1 | -0/+4 |
| | | | | | | | | | | | `NOTIFICATION_MOUSE_ENTER` and `NOTIFICATION_MOUSE_EXIT` now includes the areas of children control nodes if the mouse filters allow it. In order to check if a Control node itself was entered/exited, the newly introduced `NOTIFICATION_MOUSE_ENTER_SELF` and `NOTIFICATION_MOUSE_EXIT_SELF` can be used. Co-authored-by: Markus Sauermann <6299227+Sauermann@users.noreply.github.com> | ||||
* | Allow normal maps on TileMaps that use texture padding | Gilles Roudière | 2023-10-18 | 1 | -0/+27 |
| | |||||
* | Fix notification thread guards | bitsawer | 2023-10-02 | 1 | -2/+9 |
| | |||||
* | [Scene,Main] Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicable | A Thousand Ships | 2023-09-12 | 1 | -1/+1 |
| | |||||
* | Remove `CanvasItem::_invalidate_global_transform` | Markus Sauermann | 2023-08-30 | 1 | -6/+1 |
| | | | | | | | | The only use of that function can be replaced by `_notify_transform`, which makes the `propagate_call` unnecessary. As far as I can tell, the `data.blocked`-checks of `propagate_call` are not needed in this case, because `_invalidate_global_transform` causes no user-noticeable changes. | ||||
* | Fix global transform validity for `Node2D` and `Control` | Markus Sauermann | 2023-08-08 | 1 | -2/+5 |
| | | | | Set global transform to invalid when changing transform | ||||
* | Fix click-selecting Sprites with repeated texture | kleonc | 2023-06-22 | 1 | -4/+4 |
| | |||||
* | Use NULL instead of COND checks when appropriate | Ninni Pipping | 2023-06-10 | 1 | -3/+3 |
| | | | | Restricted to scene | ||||
* | Optimize threading-sensitive node data for single-threaded processing | Pedro J. Estébanez | 2023-05-17 | 1 | -7/+19 |
| | |||||
* | Merge pull request #75250 from bruvzg/lbl_rtl_jst_flags | Rémi Verschelde | 2023-05-16 | 1 | -4/+4 |
|\ | | | | | | | Expose TextServer justification flags to Label, Label3D, TextMesh and RTL. Add flags to control last/single line justification. | ||||
| * | Expose TextServer justification flags to Label, Label3D, TextMesh and RTL. ↵ | bruvzg | 2023-05-15 | 1 | -4/+4 |
| | | | | | | | | Add flags to control last/single line justification. | ||||
* | | Make more base nodes thread safe | Juan Linietsky | 2023-05-15 | 1 | -10/+124 |
|/ | | | | Ongoing work to make more of the base nodes thread safe. | ||||
* | Merge pull request #57179 from spacechase0/notify-world2d-changed-master | Rémi Verschelde | 2023-05-08 | 1 | -0/+5 |
|\ | | | | | | | Propagate previously unused NOTIFICATION_WORLD_2D_CHANGED, make CanvasItem/CollisionObject2D use it | ||||
| * | Propogate previously unused NOTIFICATION_WORLD_2D_CHANGED, make ↵ | Chase Warrington | 2023-05-01 | 1 | -0/+5 |
| | | | | | | | | CanvasItem/CollisionObject2D use it | ||||
* | | Merge pull request #74883 from dalexeev/fix-thin-multiline-colors | Max Hilbrunner | 2023-05-05 | 1 | -6/+3 |
|\ \ | |||||
| * | | Fix `draw_multiline_colors()` for `width < 0` | Danil Alexeev | 2023-03-14 | 1 | -6/+3 |
| |/ | |||||
* | | Fix invalid global position when read outside tree | kobewi | 2023-04-18 | 1 | -0/+7 |
| | | |||||
* | | Merge pull request #75890 from YuriSizov/gui-remember-window-state | Yuri Sizov | 2023-04-18 | 1 | -3/+1 |
|\ \ | | | | | | | Always cache parent visibility in `CanvasItem` | ||||
| * | | Always cache parent visibility in CanvasItem | Yuri Sizov | 2023-04-10 | 1 | -3/+1 |
| | | | |||||
* | | | Rename internal root canvas group to start with underscore | angel-721 | 2023-04-16 | 1 | -1/+1 |
|/ / | |||||
* | | Remove NOTIFICATION_MOVED_IN_PARENT | Juan Linietsky | 2023-04-06 | 1 | -14/+23 |
| | | | | | | | | | | | | | | | | | | * This notification makes node children management very inefficient. * Replaced by a NOTIFICATION_CHILDREN_CHANGED (and children_changed signal). * Changed Canvas code (and similar) to use the above signal, to perform more efficiently. This PR breaks compatibility (although this notification was very rarely used, even within the engine), but provides an alternate way to do the same. It is required for the changes in #75627 to be entirely effective. | ||||
* | | CanvasItem Fix ENTER_CANVAS / VISIBILITY_CHANGED notifications order when ↵ | kleonc | 2023-03-22 | 1 | -1/+2 |
|/ | | | | entering tree | ||||
* | Set RTL minimal dash size to 2.0, add invalid dash size error to the ↵ | bruvzg | 2023-02-17 | 1 | -1/+2 |
| | | | | `draw_dashed_line`. | ||||
* | Add dash and step size checks to draw_dashed_line. | bruvzg | 2023-02-16 | 1 | -2/+3 |
| | |||||
* | Optimize `draw_dashed_line()` and `draw_rect()` | Danil Alexeev | 2023-02-08 | 1 | -33/+20 |
| | |||||
* | Merge pull request #68492 from Sauermann/fix-picking-sort | Rémi Verschelde | 2023-02-06 | 1 | -0/+11 |
|\ | | | | | | | Fix propagation order for 2D physics picking events | ||||
| * | Fix propagation order for 2D physics picking events | Markus Sauermann | 2023-02-04 | 1 | -0/+11 |
| | | | | | | | | | | | | This patch adds a viewport-configuration-option for sorting physics-picking events by the Z-Index and the scene tree position of the collision objects. | ||||
* | | Fix toplevel nomenclature | Markus Sauermann | 2023-02-02 | 1 | -8/+8 |
| | | | | | | | | | | toplevel was 3.x top_level is 4.x | ||||
* | | Fix various typos with codespell | Rémi Verschelde | 2023-02-01 | 1 | -2/+2 |
|/ | | | | Finally do the childs -> children rename too. | ||||
* | Merge pull request #67507 from Sauermann/fix-toplevel-root-control-node | Rémi Verschelde | 2023-01-31 | 1 | -0/+17 |
|\ | | | | | | | Fix event propagation to child after set_as_toplevel |