Page MenuHome

Fix missing Outliner updates when adding nodetrees
ClosedPublic

Authored by Philipp Oeser (lichtwerk) on Sep 28 2022, 3:09 PM.

Details

Summary

When e.g. grouping nodes into nodegroups, these would not show up
immediately in the Outliner (Blender File / Data API view).

Now send (unique combination, not used elsewhere) notifiers (and listen
for these in the Outliner).

Diff Detail

Repository
rB Blender
Branch
Fix_mssing_outliner_updates_adding_nodegroups (branched from master)
Build Status
Buildable 24022
Build 24022: arc lint + arc unit

Event Timeline

Philipp Oeser (lichtwerk) requested review of this revision.Sep 28 2022, 3:09 PM
Philipp Oeser (lichtwerk) created this revision.
source/blender/editors/space_outliner/space_outliner.cc
255–257

It would be trivial to test for the data API / blend file views here, right? Seems worth it, since redrawing/rebuilding the outliner can be nontrivial for more complicated files, and that's just one more thing that will have to happen before users see the result of their actions.

only refresh Outliner in Blender File / Data API view

Philipp Oeser (lichtwerk) marked an inline comment as done.Sep 29 2022, 9:33 AM
This revision is now accepted and ready to land.Sep 29 2022, 2:23 PM