Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-08-22 06:20:05 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-08-22 06:23:27 +0300
commit0356c8f25b96bf9d8c677e51ad5106b5295cb37f (patch)
tree8971ebe7dc35e3ef7a80e765e52dc7a2da5815ed /source/blender/blenkernel/BKE_lattice.h
parentc2442541a62e48bd10499438c84d20bf21cac2c0 (diff)
Cleanup: remove edit-mode check in vertex coordinate access
This makes the function more predictable since other object types don't access edit-mode data.
Diffstat (limited to 'source/blender/blenkernel/BKE_lattice.h')
-rw-r--r--source/blender/blenkernel/BKE_lattice.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_lattice.h b/source/blender/blenkernel/BKE_lattice.h
index fbb98b290f0..8395b182171 100644
--- a/source/blender/blenkernel/BKE_lattice.h
+++ b/source/blender/blenkernel/BKE_lattice.h
@@ -89,6 +89,7 @@ void armature_deform_verts(struct Object *armOb,
struct bGPDstroke *gps);
float (*BKE_lattice_vert_coords_alloc(const struct Lattice *lt, int *r_vert_len))[3];
+void BKE_lattice_vert_coords_get(const struct Lattice *lt, float (*vert_coords)[3]);
void BKE_lattice_vert_coords_apply(struct Lattice *lt, const float (*vert_coords)[3]);
void BKE_lattice_modifiers_calc(struct Depsgraph *depsgraph,
struct Scene *scene,