Merge branch 'blender-v2.90-release'
This commit is contained in:
commit
ebda95953c
|
@ -40,6 +40,7 @@
|
|||
#include "BKE_lib_id.h"
|
||||
#include "BKE_lib_query.h"
|
||||
#include "BKE_mesh.h"
|
||||
#include "BKE_mesh_wrapper.h"
|
||||
#include "BKE_modifier.h"
|
||||
#include "BKE_screen.h"
|
||||
|
||||
|
@ -394,6 +395,11 @@ static void deformVertsEM(struct ModifierData *md,
|
|||
Mesh *mesh_src = MOD_deform_mesh_eval_get(
|
||||
ctx->object, editData, mesh, NULL, numVerts, false, false);
|
||||
|
||||
/* TODO(Campbell): use edit-mode data only (remove this line). */
|
||||
if (mesh_src != NULL) {
|
||||
BKE_mesh_wrapper_ensure_mdata(mesh_src);
|
||||
}
|
||||
|
||||
deformVerts_do(hmd, ctx, ctx->object, mesh_src, vertexCos, numVerts);
|
||||
|
||||
if (!ELEM(mesh_src, NULL, mesh)) {
|
||||
|
|
Loading…
Reference in New Issue