Skip to content

Commit

Permalink
cleaning selection when object tree is refreshed
Browse files Browse the repository at this point in the history
  • Loading branch information
kleber-jg committed Dec 22, 2021
1 parent f74e17d commit 1e92a60
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@ export class ObjectTreeInspector extends Inspector {

Editor.actions.setActionCommand(
Actions.REFRESH_OBJECT_TREE,
() => this.setRoot(this.root)
() => {
Editor.data.selectObject(null, DataOrigin.ACTION);
this.setRoot(this.root);
}
);
}

Expand Down

0 comments on commit 1e92a60

Please sign in to comment.