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>2018-03-19 16:49:59 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-03-19 17:45:50 +0300
commitc78ebf9f26d01fcc3cf16baa9da922ee183f4b09 (patch)
tree4c1beea139b23f93eaa2ac0fa25657baca346677 /source/blender/makesrna
parent342a18287f5e0d3cf3147669709dcce21b967946 (diff)
Cleanup: split lattice into own library
Was mixed with object functionality.
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r--source/blender/makesrna/intern/rna_object.c5
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;
}
}