Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong type is shown in tooltip of custom not in scene tree #26980

Closed
RedwanFox opened this issue Mar 12, 2019 · 2 comments · Fixed by #30697
Closed

Wrong type is shown in tooltip of custom not in scene tree #26980

RedwanFox opened this issue Mar 12, 2019 · 2 comments · Fixed by #30697

Comments

@RedwanFox
Copy link
Contributor

Godot version:
Godot 3.1 RC3

OS/device including version:
MacOSX 10.14.3

Issue description:
In editor in scene tree if user adds registered class node, tooltip will show base class as type.

Steps to reproduce:

  1. Create script.
  2. Register it as class.
  3. Add node of this class to scene.
  4. Loot at the tooltip.

Minimal project

extends Node

class_name MyCustomNode

func _ready():
    pass
@bojidar-bg
Copy link
Contributor

Strongly related to #6067. Custom node types are just shortcuts for assigning a script to a node of the base type.

@aaronfranke
Copy link
Member

See also: #16863 (comment)

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

Successfully merging a pull request may close this issue.

4 participants