Fix #114828: Don't rebuild outliner tree when frame scrubbing #114845

Merged
Christoph Lendenfeld merged 2 commits from ChrisLend/blender:fix_outliner_tree_rebuilt into main 2023-12-05 11:04:35 +01:00
1 changed files with 4 additions and 1 deletions

View File

@ -123,11 +123,14 @@ static void outliner_main_region_listener(const wmRegionListenerParams *params)
ED_region_tag_redraw_no_rebuild(region);
}
break;
case ND_FRAME:
/* Rebuilding the outliner tree is expensive and shouldn't be done when scrubbing. */
ED_region_tag_redraw_no_rebuild(region);
break;
case ND_OB_VISIBLE:
case ND_OB_RENDER:
case ND_MODE:
case ND_KEYINGSET:
case ND_FRAME:
case ND_RENDER_OPTIONS:
case ND_SEQUENCER:
case ND_LAYER_CONTENT: