Skip to content

Line2d.points.resize(int) or slice() not working #104405

Open
@Serimert90

Description

@Serimert90

Tested versions

-Reproducible in Godot 4.3 and Godot 4.4

System information

Godot v4.4.stable - Windows 10 (build 19045) - Multi-window, 1 monitor - Vulkan (Mobile) - dedicated NVIDIA GeForce RTX 3080 Ti (NVIDIA; 32.0.15.6094) - AMD Ryzen 9 5900X 12-Core Processor (24 threads)

Issue description

Check the reproduction project. Simply add line2d object to your scene. Add points programmatically or from editor.
Try to remove points by Line2d.points.resize and see it does not work. Points array does not change.

Steps to reproduce

Simply add line2d object to your scene. Add points programmatically or from editor.
Try to remove points by Line2d.points.resize and see it does not work.

Minimal reproduction project (MRP)

line2d_bug.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions