Cleanup: rename BKE_libblock_free_us to BKE_id_free_us.
[blender.git] / source / blender / editors / mesh / meshtools.c
index 71b63cf3471007676472fc60ab8762611f19f3c3..adbd6e12048e459a9f2a3b85cd6590defca54bbe 100644 (file)
@@ -580,7 +580,7 @@ int join_mesh_exec(bContext *C, wmOperator *op)
        /* free temp copy of destination shapekeys (if applicable) */
        if (nkey) {
                /* We can assume nobody is using that ID currently. */
-               BKE_id_free_ex(bmain, nkey, LIB_ID_FREE_NO_UI_USER | LIB_ID_FREE_NO_USER_REFCOUNT, false);
+               BKE_id_free_ex(bmain, nkey, LIB_ID_FREE_NO_MAIN | LIB_ID_FREE_NO_UI_USER | LIB_ID_FREE_NO_USER_REFCOUNT, false);
        }
 
        /* ensure newly inserted keys are time sorted */