diff options
Diffstat (limited to 'source/blender/makesrna/intern/rna_object.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_object.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_object.c b/source/blender/makesrna/intern/rna_object.c index 1d77030fe00..84318b7124a 100644 --- a/source/blender/makesrna/intern/rna_object.c +++ b/source/blender/makesrna/intern/rna_object.c @@ -44,6 +44,7 @@ #include "BKE_camera.h" #include "BKE_paint.h" +#include "BKE_editlattice.h" #include "BKE_editmesh.h" #include "BKE_group.h" /* needed for BKE_group_object_exists() */ #include "BKE_object_deform.h" @@ -286,8 +287,8 @@ static void rna_Object_active_shape_update(Main *bmain, Scene *scene, PointerRNA ED_curve_editnurb_make(ob); break; case OB_LATTICE: - ED_lattice_editlatt_load(ob); - ED_lattice_editlatt_make(ob); + BKE_editlattice_load(ob); + BKE_editlattice_make(ob); break; } } |