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

Plugin clutters "Create New Node" dialogue #20

Open
menip opened this issue Jun 13, 2019 · 4 comments
Open

Plugin clutters "Create New Node" dialogue #20

menip opened this issue Jun 13, 2019 · 4 comments

Comments

@menip
Copy link

menip commented Jun 13, 2019

Would be nice to have all extend something common, so that in "Create New Node" we don't get:
image

@menip
Copy link
Author

menip commented Jun 13, 2019

Seems would have to change all

add_custom_type(
    "Behavior*",
    "Node",
     preload(script),
    preload(png)
)

to a single

add_custom_type(
    "BehaviorTree",
    "Node",
     preload(script),
    preload(png)
)

and for all the rest

add_custom_type(
    "Behavior*",
    "BehaviorTree",
     preload(script),
    preload(png)
)

Not 100% as haven't used this part of engine yet.

@FeralBytes
Copy link

FeralBytes commented Jun 16, 2019

@menip I just tried what you suggested and it did not work. The other "BehaviorTree" types just never show up. Got any other ideas?

@brandonlamb
Copy link
Collaborator

I thought this was a limitation in godot for custom nodes (memory from 1+ year ago)

@farfalk
Copy link

farfalk commented Jan 9, 2021

Related: godotengine/godot#29548

This will probably be fixed with the joining of class_name and add_custom_type()

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

No branches or pull requests

4 participants