Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(222)

Unified Diff: source/blender/editors/include/ED_mesh.h

Issue 6208066: Modal bevel operator Base URL: https://svn.blender.org/svnroot/bf-blender/trunk/blender/
Patch Set: Address more issues pointed at during review Created 11 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | source/blender/editors/include/ED_transform.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: source/blender/editors/include/ED_mesh.h
===================================================================
--- source/blender/editors/include/ED_mesh.h (revision 46690)
+++ source/blender/editors/include/ED_mesh.h (working copy)
@@ -267,6 +267,18 @@
const short skip_em_vert_array_init);
void ED_mesh_mirrtopo_free(MirrTopoStore_t *mesh_topo_store);
+/* mesh backup */
+typedef struct BMBackup {
+ struct BMesh *bmcopy;
+} BMBackup;
+
+/* save a copy of the bmesh for restoring later */
+struct BMBackup EDBM_redo_state_store(struct BMEditMesh *em);
+/* restore a bmesh from backup */
+void EDBM_redo_state_restore(struct BMBackup, struct BMEditMesh *em, int recalctess);
+/* delete the backup, optionally flushing it to an editmesh */
+void EDBM_redo_state_free(struct BMBackup *, struct BMEditMesh *em, int recalctess);
+
#ifdef __cplusplus
}
#endif
« no previous file with comments | « no previous file | source/blender/editors/include/ED_transform.h » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b