Skip to content

Adding / Removing nodes to EditorSelection does not refresh Inspector (after 3.2.4 rc3) #46821

Closed
@koodikulma-fi

Description

Godot version:
Godot 3.2.4 rc3 and rc4

OS/device including version:
Windows 10

Issue description:
When adding nodes to selection (or removing them) via EditorSelection, the Inspector panel no longer gets refreshed - however the SceneTree is refreshed properly. It now only gets refreshed when the user selects / removes nodes as opposed to selecting from within a tool script. (Could not find a way to manually refresh the Inspector.)

Steps to reproduce:
Follow the minimal reproduction project. Below are general steps:

  1. First get the EditorSelection instance from EditorInterface instance (from an EditorPlugin instance). Eg. EditorPlugin.new().get_editor_interface().get_selection()
  2. Then call .add_node(my_node) or .clear() to do the changes to the selection.
  3. Observe the result: SceneTree is updated, but Inspector is not. (Does not help to emit selection_changed from EditorSelection instance.)

Minimal reproduction project:
LazyInspector.zip

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions