[#74815894] Initial commit: fix seg fault when adding, deleting, and selecting object models.