Bisecting this is going to be potentially rather painful - on Mac a lot of builds in September just crash upon opening this file
Broke somewhere between a08005f4 (Aug 31st) and a34b0e17 (Sept 23rd)
From reading the code seems fine, but worth double-checking (if not done already) that it does not cause BKE_object_sculpt_data_create when undo in sculpt mode?
@Sergey: Not sure what you…
Yeah, that's true. I tend to think of Cleanup
as a bit more restrictive than we have defined. 😅
Fix
sticks out more to me in case something goes weird and we end up bisecting in the…
Reopening - 4.3 no longer has the odd display, but the old behavior described initially is still present.
I just meant the fact that we no longer write the invalid pointer, unless I misunderstand what the object->sculpt = nullptr
is doing in object_blend_write