diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2010-03-08 16:49:05 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2010-03-08 16:49:05 +0300 |
commit | 38f3b8ab9226e8a670830b35f8549e7608b10e78 (patch) | |
tree | 1ad7d5cb1b8e281305838be45501653d7aa5893c /source | |
parent | cb20ed16343482b1d52952d8ecf885a418908dc0 (diff) |
Fixed segmentation fault when converting mesh to mesh with non-empty modifiers stack.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/object/object_add.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/object/object_add.c b/source/blender/editors/object/object_add.c index c5190047159..44dd5c91d12 100644 --- a/source/blender/editors/object/object_add.c +++ b/source/blender/editors/object/object_add.c @@ -1285,6 +1285,7 @@ static int convert_exec(bContext *C, wmOperator *op) newob->data= copy_mesh(me); } else { newob = ob; + ob->recalc |= OB_RECALC; } /* make new mesh data from the original copy */ |