when using CanvasItem as the base class, the class does not appear in Godot editor picker #429
Labels
bug
c: engine
Godot classes (nodes, resources, ...)
status: upstream
Depending on upstream fix (typically Godot)
Hello,
I ran across this when trying to move a base class of Node to something more specific (
CanvasItem
). My current workaround has been to useControl
instead.When using the above snippet, the class doesn't appear in the godot editor. Also if I refactor a class to use CanvasItem as a base class the editor will show errors like so:
ERROR: Class 'TestItem' or its base class cannot be instantiated. at: (core/object/class_db.cpp:341)
I did see that CanvasItem is an abstract base class so I wasn't sure if that's related, a technical limitation of the GDext bindings, or this is working as designed w.r.t. GD extensions.
The text was updated successfully, but these errors were encountered: