diff options
author | Matt Ebb <matt@mke3.net> | 2010-01-21 07:54:52 +0300 |
---|---|---|
committer | Matt Ebb <matt@mke3.net> | 2010-01-21 07:54:52 +0300 |
commit | 1ad61f32aa3bf888dd58dc31cc1bcad134b0adb9 (patch) | |
tree | 8be1284c412c38385ce5e7f2900e24ae28899cd5 /source/blender/editors/include/ED_object.h | |
parent | 7ad7820f7f4c3776f1a5cf04885557f6b937f4bd (diff) |
Fix [#20750] adding Lattice object in Local space doesn't appears
Now add object operators take a layer parameter (hidden in UI) to determine their layer when created.
Diffstat (limited to 'source/blender/editors/include/ED_object.h')
-rw-r--r-- | source/blender/editors/include/ED_object.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/include/ED_object.h b/source/blender/editors/include/ED_object.h index aa6914ab0ad..334c700ba20 100644 --- a/source/blender/editors/include/ED_object.h +++ b/source/blender/editors/include/ED_object.h @@ -86,8 +86,8 @@ float ED_object_new_primitive_matrix(struct bContext *C, float *loc, float *rot, void ED_object_add_generic_props(struct wmOperatorType *ot, int do_editmode); int ED_object_add_generic_invoke(struct bContext *C, struct wmOperator *op, struct wmEvent *event); -void ED_object_add_generic_get_opts(struct wmOperator *op, float *loc, float *rot, int *enter_editmode); -struct Object *ED_object_add_type(struct bContext *C, int type, float *loc, float *rot, int enter_editmode); +void ED_object_add_generic_get_opts(struct wmOperator *op, float *loc, float *rot, int *enter_editmode, unsigned int *layer); +struct Object *ED_object_add_type(struct bContext *C, int type, float *loc, float *rot, int enter_editmode, unsigned int layer); void ED_object_single_users(struct Scene *scene, int full); |