Fix crash with snap and project to self.
Apparently the original `edit_btmesh` is being freed and the new one has to be referenced
This commit is contained in:
@@ -535,6 +535,10 @@ static bool raycastEditMesh(
|
||||
return retval;
|
||||
}
|
||||
}
|
||||
else {
|
||||
/* COW hack: Update pointers */
|
||||
treedata->em = em;
|
||||
}
|
||||
|
||||
float imat[4][4];
|
||||
float timat[3][3]; /* transpose inverse matrix for normals */
|
||||
|
||||
Reference in New Issue
Block a user