Skip to content

Commit

Permalink
fixed non editor build
Browse files Browse the repository at this point in the history
  • Loading branch information
Roberto De Ioris committed Aug 8, 2017
1 parent 055271e commit a6b0569
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Source/UnrealEnginePython/Private/UObject/UEPySkeletal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,9 @@ PyObject *py_ue_skeletal_mesh_set_soft_vertices(ue_PyUObject *self, PyObject * a
mesh->RefBasesInvMatrix.Empty();
mesh->CalculateInvRefMatrices();

#if WITH_EDITOR
mesh->PostEditChange();
#endif
mesh->InitResources();
mesh->MarkPackageDirty();

Expand Down Expand Up @@ -298,7 +300,9 @@ PyObject *py_ue_skeletal_mesh_set_skeleton(ue_PyUObject * self, PyObject * args)
mesh->RefBasesInvMatrix.Empty();
mesh->CalculateInvRefMatrices();

#if WITH_EDITOR
mesh->PostEditChange();
#endif
mesh->InitResources();
mesh->MarkPackageDirty();

Expand Down Expand Up @@ -358,7 +362,9 @@ PyObject *py_ue_skeletal_mesh_set_bone_map(ue_PyUObject *self, PyObject * args)
mesh->RefBasesInvMatrix.Empty();
mesh->CalculateInvRefMatrices();

#if WITH_EDITOR
mesh->PostEditChange();
#endif
mesh->InitResources();
mesh->MarkPackageDirty();

Expand Down Expand Up @@ -474,7 +480,9 @@ PyObject *py_ue_skeletal_mesh_set_active_bone_indices(ue_PyUObject *self, PyObje
mesh->RefBasesInvMatrix.Empty();
mesh->CalculateInvRefMatrices();

#if WITH_EDITOR
mesh->PostEditChange();
#endif
mesh->InitResources();
mesh->MarkPackageDirty();

Expand Down Expand Up @@ -559,7 +567,9 @@ PyObject *py_ue_skeletal_mesh_set_required_bones(ue_PyUObject *self, PyObject *
mesh->RefBasesInvMatrix.Empty();
mesh->CalculateInvRefMatrices();

#if WITH_EDITOR
mesh->PostEditChange();
#endif
mesh->InitResources();
mesh->MarkPackageDirty();

Expand Down

0 comments on commit a6b0569

Please sign in to comment.