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

Visual scripting methods from parent class not showing #27253

Open
heschlie opened this issue Mar 20, 2019 · 2 comments
Open

Visual scripting methods from parent class not showing #27253

heschlie opened this issue Mar 20, 2019 · 2 comments

Comments

@heschlie
Copy link

Godot version:

3.1

OS/device including version:

Ubuntu 18.04

Issue description:

When dragging a node which is an "inherited scene" on to the visual scripting area, I'm able to see methods I've added to the child class, but not methods from the parent class. Also, functions that I have overridden seem to show up twice.

Steps to reproduce:

  • Create a scene with a script that has func a and func b
  • Create an inherited scene with and extend the script to overrid func a
  • Add child scene to a new scene as a node and create visual script
  • Drag instance of child scene to visual script
  • Click Function under VisualScriptFunctionCall and note only func a shows up (twice) but not func b

Minimal reproduction project:

vsinheritance.zip

@fire
Copy link
Member

fire commented Jul 19, 2019

I can confirm that we're unable to search through to the nodepath script functions.

@KoBeWi
Copy link
Member

KoBeWi commented Sep 26, 2020

Still valid in 3.2.3, but it's a bit different.
a() and _init() is listed twice, but b() does exist.
image

@KoBeWi KoBeWi added this to the 3.x milestone Sep 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants