Fix T87842: Outliner in `Blender File` mode has large performance impact
The Outliner was doing a full rebuild of its tree in response to transform notifiers. I don't see any reason for this, a simple redraw without rebuilding should be just fine. The same optimization could be done for other object notifiers, but I'll check on them separately.
This commit is contained in:
parent
607cd463b3
commit
a7bda03516
Notes:
blender-bot
2023-02-14 10:54:29 +01:00
Referenced by issue #87842, Outliner in `Blender File` mode has large performance impact
|
@ -155,6 +155,8 @@ static void outliner_main_region_listener(const wmRegionListenerParams *params)
|
|||
case NC_OBJECT:
|
||||
switch (wmn->data) {
|
||||
case ND_TRANSFORM:
|
||||
ED_region_tag_redraw_no_rebuild(region);
|
||||
break;
|
||||
case ND_BONE_ACTIVE:
|
||||
case ND_BONE_SELECT:
|
||||
case ND_DRAW:
|
||||
|
|
Loading…
Reference in New Issue