diff options
Diffstat (limited to 'source/blender/blenkernel/intern/mesh.c')
-rw-r--r-- | source/blender/blenkernel/intern/mesh.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/mesh.c b/source/blender/blenkernel/intern/mesh.c index a5bf39d895c..5c7d9278783 100644 --- a/source/blender/blenkernel/intern/mesh.c +++ b/source/blender/blenkernel/intern/mesh.c @@ -280,7 +280,7 @@ void make_local_mesh(Mesh *me) if(me->id.lib==NULL) return; if(me->id.us==1) { - id_clear_lib_data(&bmain->mesh, (ID *)me); + id_clear_lib_data(bmain, (ID *)me); expand_local_mesh(me); return; } @@ -293,7 +293,7 @@ void make_local_mesh(Mesh *me) } if(local && lib==0) { - id_clear_lib_data(&bmain->mesh, (ID *)me); + id_clear_lib_data(bmain, (ID *)me); expand_local_mesh(me); } else if(local && lib) { |