This object operator exits and frees the edit data of the
current object and enters the same mode in another one in a single step,
without going through object mode or keeping multiple edit object data
active. There is still not keymap assigned.
This solves all conflicts that the right/click select keymap and the
emulate 3 button mouse produces for this operation and it is independent
of the state of Lock object modes.
Also, as the SculptSession is freed, when using Multires objects go
back to their preview resolution level, so it is possible to work on
high vertex count scenes without slowing down the viewport and other
In this example, I'm sculpting on a 96M vertices scene (1,5M vertices on
Multires per object) with an acceptable performance both in sculpting
and in switching between objects by using this operator.
For now it is compatible with Sculpt and Edit mode. More modes can be
added later once the final keymap is decided