Page MenuHome

Fix T103881: Unlink operation crash in Blender File view
ClosedPublic

Authored by Pratik Borhade (PratikPB2123) on Tue, Jan 17, 11:27 AM.

Diff Detail

Repository
rB Blender

Event Timeline

Pratik Borhade (PratikPB2123) requested review of this revision.Tue, Jan 17, 11:27 AM
Pratik Borhade (PratikPB2123) created this revision.

Similar issue is still present for texture and world material ID. Want me to add both in this patch?

Julian Eisel (Severin) requested changes to this revision.EditedTue, Jan 17, 11:44 AM

This should show an error and not fail silently, otherwise it's confusing to the user. See rBe97443478e32, rB67254ea37cb4.

Besides that looks fine to me.

Similar issue is still present for texture and world material ID. Want me to add both in this patch?

Don't mind much if you do it in the same patch or separate, but yeah I'd welcome the fixes of course :)

This revision now requires changes to proceed.Tue, Jan 17, 11:44 AM
Pratik Borhade (PratikPB2123) retitled this revision from Fix T103881: Blender Crash when unlinking a Collection from Blender File to Fix T103881: Unlink operation crash in Blender File view.
Pratik Borhade (PratikPB2123) edited the summary of this revision. (Show Details)
Julian Eisel (Severin) requested changes to this revision.Wed, Jan 18, 11:33 AM

"It's not clear which object or object-data it should be unlinked from, there's no object or object-data [...]"
There are no objects or object data involved in the cases here (in most of them at least). Collections are unlinked from the scene or instance empties, worlds from the scene, and textures from freestyle line styles only.

This revision now requires changes to proceed.Wed, Jan 18, 11:33 AM

The line wrapping of the messages is odd, besides that LGTM.
Thanks for working on this!

This revision is now accepted and ready to land.Thu, Jan 19, 11:20 AM