useful for python but in rare cases this also happens for users. Active layer getting out of sync is an old bug but hard find when it happens. This at least fixes segfaulting on adding objects.
useful for python but in rare cases this also happens for users. Active layer getting out of sync is an old bug but hard find when it happens. This at least fixes segfaulting on adding objects.