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:
authorNicholas Bishop <nicholasbishop@gmail.com>2012-03-19 09:13:41 +0400
committerNicholas Bishop <nicholasbishop@gmail.com>2012-03-19 09:13:41 +0400
commite508c2d9e1151a75926937cfdfb2799d2959bca1 (patch)
tree6394e4900fe8a77506716477797bf27dca8eda86 /source/blender/blenkernel/BKE_multires.h
parent753056d4e82094fe8993c0efade081600b14359b (diff)
Add a multires function to delete MDisps.
The code was duplicated in various places, replaced with calls to a new function, multires_customdata_delete().
Diffstat (limited to 'source/blender/blenkernel/BKE_multires.h')
-rw-r--r--source/blender/blenkernel/BKE_multires.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_multires.h b/source/blender/blenkernel/BKE_multires.h
index 6c8d20eed30..69482706da6 100644
--- a/source/blender/blenkernel/BKE_multires.h
+++ b/source/blender/blenkernel/BKE_multires.h
@@ -44,6 +44,9 @@ struct MultiresModifierData;
struct Object;
struct Scene;
+/* Delete mesh mdisps */
+void multires_customdata_delete(struct Mesh *me);
+
void multires_mark_as_modified(struct Object *ob, enum MultiresModifiedFlags flags);
void multires_force_update(struct Object *ob);