diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-06-18 10:01:51 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-06-18 10:01:51 +0400 |
commit | 3c63eee7b4ee63619375d2ec57cf2d806e46175a (patch) | |
tree | 0f5e08762cc37824c1f3a5094b480ffacae8f45f /source/blender/blenkernel | |
parent | b16bf6c3d4204ba5399f9854f7888630e984fe59 (diff) |
Code cleanup: replace 0 with OB_MODE_OBJECT
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/intern/object.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/object.c b/source/blender/blenkernel/intern/object.c index a3e8ddccf0b..415606d1fdc 100644 --- a/source/blender/blenkernel/intern/object.c +++ b/source/blender/blenkernel/intern/object.c @@ -1479,7 +1479,7 @@ Object *BKE_object_copy_ex(Main *bmain, Object *ob, bool copy_caches) defgroup_copy_list(&obn->defbase, &ob->defbase); BKE_constraints_copy(&obn->constraints, &ob->constraints, true); - obn->mode = 0; + obn->mode = OB_MODE_OBJECT; obn->sculpt = NULL; /* increase user numbers */ |