Fix T57540: 3D Cursor snap in editing mode ignoring changed geometry.

This commit is contained in:
Germano Cavalcante 2018-10-31 20:47:51 -03:00
parent 95d4a6bdb1
commit 4a013e5dd5
Notes: blender-bot 2023-02-14 05:07:10 +01:00
Referenced by issue #57540, Can't snap 3D Cursor to newly made geometry in Edit mode (new edges, vertices, faces)
1 changed files with 2 additions and 6 deletions

View File

@ -756,9 +756,7 @@ static bool raycastObj(
ray_depth, r_loc, r_no, r_index, r_hit_list);
break;
}
else if (em->mesh_eval_final &&
(em->mesh_eval_final->runtime.deformed_only == false))
{
else if (em->mesh_eval_final) {
me = em->mesh_eval_final;
}
}
@ -2269,9 +2267,7 @@ static short snapObject(
r_loc, r_no, r_index);
break;
}
else if (em->mesh_eval_final &&
(em->mesh_eval_final->runtime.deformed_only == false))
{
else if (em->mesh_eval_final) {
me = em->mesh_eval_final;
}
}