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>2007-01-02 23:33:11 +0300
committerNicholas Bishop <nicholasbishop@gmail.com>2007-01-02 23:33:11 +0300
commitd813fb3da811d391b6b568fb077b2f3e538ce4db (patch)
tree7132de3f0750afb10180782957093fc74e586ec2 /source/blender/src/retopo.c
parent09014382151d518d724e86944829efa7f2c3f308 (diff)
Added undo push for retopo all.
Diffstat (limited to 'source/blender/src/retopo.c')
-rw-r--r--source/blender/src/retopo.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/source/blender/src/retopo.c b/source/blender/src/retopo.c
index 5b613880fb5..fea9b191690 100644
--- a/source/blender/src/retopo.c
+++ b/source/blender/src/retopo.c
@@ -758,7 +758,7 @@ void retopo_do_vert(View3D *v3d, float *v)
retopo_do_2d(v3d,proj,v,0);
}
-void retopo_do_all(void *j1,void *j2)
+void retopo_do_all()
{
RetopoViewData *rvd= G.vd->retopo_view_data;
if(retopo_mesh_check()) {
@@ -802,6 +802,12 @@ void retopo_do_all(void *j1,void *j2)
}
}
+void retopo_do_all_cb(void *j1, void *j2)
+{
+ retopo_do_all();
+ BIF_undo_push("Retopo all");
+}
+
void retopo_queue_updates(View3D *v3d)
{
if(retopo_mesh_check() || retopo_curve_check()) {