Is this normal? Or is it a bug?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Sojan
:warning: Old Version Published before Godot 3 was released.

Today with the latest 3.0 alpha 2, I created a button node, and named it “GetDir”. When I created a script for it with the GUI, it extended it to “extends “res://Scripts/GetDir.gd”” rather than “Button”. Is this normal? I’m running Ubuntu linux.

Godot bug?

I followed your steps, but couldn’t reproduce it.

  1. create button
  2. name it as “GetDir”
  3. attach script via RMB on button node
  4. create script

volzhs | 2017-11-30 15:47

I tried the same steps as volzhs with same results. Script extends Button.

Michael Paul | 2017-12-01 01:55

Would you mind creating a video/gif of this behaviour?

rolfpancake | 2017-12-01 17:57

:bust_in_silhouette: Reply From: Zylann

Are you sure you didn’t click on the inherit path box rather than the path box? I get exactly your situation, but only if I click on the button near inherits (which is then normal behaviour)