Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/editors/object/object_shapekey.c')
-rw-r--r--source/blender/editors/object/object_shapekey.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/object/object_shapekey.c b/source/blender/editors/object/object_shapekey.c
index 5d10d67f0c9..57cd464b7ad 100644
--- a/source/blender/editors/object/object_shapekey.c
+++ b/source/blender/editors/object/object_shapekey.c
@@ -103,7 +103,7 @@ static bool ED_object_shape_key_remove_all(Main *bmain, Object *ob)
case ID_LT: ((Lattice *)key->from)->key = NULL; break;
}
- BKE_libblock_free_us(&(bmain->key), key);
+ BKE_libblock_free_us(bmain, key);
return true;
}
@@ -161,7 +161,7 @@ static bool ED_object_shape_key_remove(Main *bmain, Object *ob)
case ID_LT: ((Lattice *)key->from)->key = NULL; break;
}
- BKE_libblock_free_us(&(bmain->key), key);
+ BKE_libblock_free_us(bmain, key);
}
return true;