Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/util/ed_transverts.c
| Context not available. | |||||
| #include "BKE_lattice.h" | #include "BKE_lattice.h" | ||||
| #include "BKE_editmesh.h" | #include "BKE_editmesh.h" | ||||
| #include "BKE_DerivedMesh.h" | #include "BKE_DerivedMesh.h" | ||||
| #include "BKE_context.h" | |||||
| #include "ED_armature.h" | #include "ED_armature.h" | ||||
| Context not available. | |||||
| MEM_SAFE_FREE(tvs->transverts); | MEM_SAFE_FREE(tvs->transverts); | ||||
| tvs->transverts_tot = 0; | tvs->transverts_tot = 0; | ||||
| } | } | ||||
| int ED_transverts_poll(bContext *C) | |||||
| { | |||||
| Object *obedit = CTX_data_edit_object(C); | |||||
| if (obedit) { | |||||
| if (ED_transverts_check_obedit(obedit)) { | |||||
| return true; | |||||
| } | |||||
| } | |||||
| return false; | |||||
| } | |||||
| Context not available. | |||||