diff options
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/blenkernel/BKE_subdiv.h | 2 | ||||
-rw-r--r-- | source/blender/blenkernel/intern/subdiv.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/BKE_subdiv.h b/source/blender/blenkernel/BKE_subdiv.h index ab540b85daf..81d605ffb63 100644 --- a/source/blender/blenkernel/BKE_subdiv.h +++ b/source/blender/blenkernel/BKE_subdiv.h @@ -193,7 +193,7 @@ Subdiv *BKE_subdiv_new_from_converter(const SubdivSettings *settings, struct OpenSubdiv_Converter *converter); Subdiv *BKE_subdiv_new_from_mesh(const SubdivSettings *settings, - struct Mesh *mesh); + const struct Mesh *mesh); void BKE_subdiv_free(Subdiv *subdiv); diff --git a/source/blender/blenkernel/intern/subdiv.c b/source/blender/blenkernel/intern/subdiv.c index 26088248d51..370448d117f 100644 --- a/source/blender/blenkernel/intern/subdiv.c +++ b/source/blender/blenkernel/intern/subdiv.c @@ -100,7 +100,7 @@ Subdiv *BKE_subdiv_new_from_converter(const SubdivSettings *settings, } Subdiv *BKE_subdiv_new_from_mesh(const SubdivSettings *settings, - struct Mesh *mesh) + const Mesh *mesh) { if (mesh->totvert == 0) { return NULL; |