diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-02-05 19:02:01 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-02-05 19:02:01 +0300 |
commit | 07765499abee4b6c24b94ae473c092a0e231256c (patch) | |
tree | 00ab1cdd4b1788210dde6928336318d7d0db6402 /source/blender/blenkernel/intern | |
parent | 08ab09cf04d93520118460b3d1f243313b7892b8 (diff) |
Fix strict compiler warning, breaking MSVC
Diffstat (limited to 'source/blender/blenkernel/intern')
-rw-r--r-- | source/blender/blenkernel/intern/mesh_convert.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/mesh_convert.c b/source/blender/blenkernel/intern/mesh_convert.c index 0c1f916fc4b..4a080245405 100644 --- a/source/blender/blenkernel/intern/mesh_convert.c +++ b/source/blender/blenkernel/intern/mesh_convert.c @@ -911,7 +911,7 @@ Mesh *BKE_mesh_new_from_object( copycu = NULL; tmpmesh = tmpobj->data; - id_us_min(tmpmesh); /* Gets one user from its creation in BKE_mesh_from_nurbs_displist(). */ + id_us_min(&tmpmesh->id); /* Gets one user from its creation in BKE_mesh_from_nurbs_displist(). */ BKE_displist_free(&dispbase); |