Page MenuHome

Fix (unreported) Outliner missing updates copying IDs via python
ClosedPublic

Authored by Philipp Oeser (lichtwerk) on Mar 2 2021, 6:44 PM.

Details

Summary

Steps to reproduce:

  • switch to Scripting workspace
  • execute bpy.data.meshes['Cube'].copy()
  • Outliner will not show the new mesh immediately

Now just send appropriate notifier.

Diff Detail

Repository
rB Blender

Event Timeline

Philipp Oeser (lichtwerk) requested review of this revision.Mar 2 2021, 6:44 PM
Philipp Oeser (lichtwerk) created this revision.

I'm honestly not that confident about this, but it seems fine, since there are some other notifiers in slightly similar functions in this file. In any case, such an operation should be expected to redraw anyway.

This revision is now accepted and ready to land.Mar 2 2021, 8:54 PM