Page MenuHome

Fix T77074: Collections: Exclude From ViewLayer toggle crashes
ClosedPublic

Authored by Philipp Oeser (lichtwerk) on May 26 2020, 11:35 AM.

Details

Summary

Consider this a bandaid fix (similar to rBe2724abc22d5).

Real issue seems to be that object is still in OB_MODE_PARTICLE_EDIT
whereas it should be in OB_MODE_OBJECT after toggling 'Exclude From
ViewLayer'. So while this patch prevents the crash, it leaves the object
in a weird state (it cannot be selected for example -- see T77073 as well), needs further
investigation.

Diff Detail

Repository
rB Blender