-
-
Notifications
You must be signed in to change notification settings - Fork 21.5k
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
Export members are duplicated on Inspector when using @tool #82169
Comments
Fine in v4.2.dev4.official [549fcce]. Possibly by #81079? 🤔 cc @dalexeev
Results of: for p in get_property_list():
print(p) for v4.2.dev4.official [549fcce]
v4.2.dev5.official [e3e2528]
Diff: @@ -1 +1 @@
-{ "name": "Node", "class_name": &"", "type": 0, "hint": 0, "hint_string": "", "usage": 128 }
+{ "name": "Node", "class_name": &"", "type": 0, "hint": 0, "hint_string": "Node", "usage": 128 }
@@ -18 +18 @@
-{ "name": "CanvasItem", "class_name": &"", "type": 0, "hint": 0, "hint_string": "", "usage": 128 }
+{ "name": "CanvasItem", "class_name": &"", "type": 0, "hint": 0, "hint_string": "CanvasItem", "usage": 128 }
@@ -38 +38 @@
-{ "name": "Node2D", "class_name": &"", "type": 0, "hint": 0, "hint_string": "", "usage": 128 }
+{ "name": "Node2D", "class_name": &"", "type": 0, "hint": 0, "hint_string": "Node2D", "usage": 128 }
@@ -53,0 +54,3 @@
+{ "name": "height", "class_name": &"", "type": 2, "hint": 0, "hint_string": "int", "usage": 4102 }
+{ "name": "weight", "class_name": &"", "type": 2, "hint": 0, "hint_string": "int", "usage": 4102 }
+{ "name": "limbs", "class_name": &"", "type": 2, "hint": 0, "hint_string": "int", "usage": 4102 } |
I also faced the issue but, could not reproduce it. For me it was calling the setter method twice also. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Godot version
4.2.dev
System information
Windows 11
Issue description
There's a bug on
4.2.dev
where the Inspector will shows the duplicated exported members of a child class that extends its parent class.4.2.dev
Steps to reproduce
animal.tscn
animal.gd
with this contentdog.tscn
dog.gd
that extends the animal.gd with this contentOpen the project using 4.2.dev and you will see the exported members are duplicated
Open the same project using the 4.1.1.stable and you will see that it works as intended, no exported members duplication
Minimal reproduction project
sample.zip
The text was updated successfully, but these errors were encountered: