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

Setting node process_mode to Disabled then back to Inherit doesn't reset the mode properly #49818

Closed
pouleyKetchoupp opened this issue Jun 22, 2021 · 0 comments · Fixed by #49819
Milestone

Comments

@pouleyKetchoupp
Copy link
Contributor

Godot version

3.3.2.stable, 4.0.dev (92f20fd)

System information

Windows 10

Issue description

When changing the process_mode property on a node that is at least 2 levels deep in the tree (both parents are set to Inherited), setting the mode back to Inherited doesn't reset the current state properly.

Example in the editor: the node stays grayed out even after setting it back to Inherited. Its state is reset properly only after setting the parent node to any mode then back to Inherited:

Steps to reproduce

Using the minimal reproduction project:

  1. Open project in editor
  2. Select Node3 in the scene tree
  3. Set process_mode to Disabled
  4. Observe the node is grayed out (correct)
  5. Set process_mode back to Inherited
  6. Observe the node is still grayed out (incorrect)

Minimal reproduction project

disable-node-bug-4.0.zip

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

Successfully merging a pull request may close this issue.

1 participant