Skip to content

Node type doesn't change to script's #85485

Closed as not planned
Closed as not planned
@adamscoble

Description

Godot version

v4.2-beta6

System information

Windows 10

Issue description

If I add a script to a Node, the Node's type doesn't update according to the script. So if I change the script to inherit a Node3D instead of Node, the Node itself doesn't update its type (or at least the icon doesn't change to indicate it has).

Steps to reproduce

  • Create a script that inherits Node.
  • Add it to a Node.
  • Change the script to inherit Node3D.
  • The Node remains white/a Node (though does show the correct hierarchy in the inspector).

Minimal reproduction project

N/A

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions