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

Some node names incorrectly appear yellow in the Scene tree dock #70541

Open
TomCoursow opened this issue Dec 24, 2022 · 3 comments
Open

Some node names incorrectly appear yellow in the Scene tree dock #70541

TomCoursow opened this issue Dec 24, 2022 · 3 comments

Comments

@TomCoursow
Copy link

Godot version

4.0.beta9.official e780dc3

System information

Linux (EndeavourOS) | NVIDIA GTX1080

Issue description

  • Adding or Removing Nodes from a Scene effect which nodes get marked with a yellow name in the Editor
  • Also switching between Child & Parent Scenes effect which Names are marked yellow
  • Combining these 2 use cases can lead to very confusing node colors

Aditional Info:

Steps to reproduce

Have a BattlerAnimation (Scene)

  • Added A Node2D
    • Added 2 Animation Players

Have a Battler (Scene)

  • Added a BattlerAnimation (Scene)

Have a Bear (Scene - Inherits Battler Scene)

  • Added a Sprite2D

Open Bear and Battler Scene in the Editor.
Do the following...
yellow_name_bug

  • Add a Node2D in Bear bewlow the Animation Player
  • (BattlerAnimation & Pivot are now yellow - Is that correct or not?)
  • Switch to the Battler Scene (BattlerAnimation & Pivot are not yellow - Or is this correct?)
  • Switching back to the Bear Scene (BattlerAnimation & Pivot are white again... But the Animation Player now as well... - Very confusing I don't know what these yellow names mean but I don't think that this switching back and forth can't be correct for just switching scenes. Whats the correct Behaviour?)
  • Delete the latest added Node2D (Now we are back to the state after we added the node - Animation & Pivot Yellow - Player also yellow)
  • Switch to Battler Scene (Only Animation Player Yellow)
  • Switch back to Bear Scene (We are back at the point where we started...)

Minimal reproduction project

TurnBasedBattleDemo_Godot4.zip

@TomCoursow
Copy link
Author

I also noticed that the main demo scene "CombatDemo" uses wrong white colors as well when coming from battler or bear

@SirLich
Copy link
Contributor

SirLich commented Mar 13, 2023

Reproduced on Godot4 stable.

Correct:
image

Incorrect: (after switching tabs, switching back)

image

@Calinou Calinou changed the title [BUG] Wrong Yellow Node Names Some node names incorrectly appear yellow in the Scene tree dock Mar 13, 2023
@Ionus63
Copy link

Ionus63 commented Oct 27, 2023

I had a similar problem but it had lost the font for that scene. GODOT 4.1.2. Not sure if this helps.

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

5 participants