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
path: root/source
diff options
context:
space:
mode:
authorJohnny Matthews <johnny.matthews@gmail.com>2005-08-01 00:56:20 +0400
committerJohnny Matthews <johnny.matthews@gmail.com>2005-08-01 00:56:20 +0400
commit3624c1278d80ba39ee825eaab6f4d85692be582c (patch)
treeb6380e305e956d2a0e5cebb3d7a2e78bbc8a8005 /source
parent01436513dc75fa79ddac8a67e4c69748e7dda19c (diff)
Just a little cleanup, removed an extra redraw....move along :)
Diffstat (limited to 'source')
-rw-r--r--source/blender/src/editmesh_loop.c16
1 files changed, 4 insertions, 12 deletions
diff --git a/source/blender/src/editmesh_loop.c b/source/blender/src/editmesh_loop.c
index 8e2e284c5c8..33a3c5806e9 100644
--- a/source/blender/src/editmesh_loop.c
+++ b/source/blender/src/editmesh_loop.c
@@ -340,13 +340,7 @@ void CutEdgeloop(int numcuts)
}
}
}
- scrarea_do_windraw(curarea);
- screen_swapbuffers();
-#ifndef __APPLE__
- if(G.vd->drawtype>OB_WIRE && (G.vd->flag & V3D_ZBUF_SELECT)) {
- backdrawview3d(0);
- }
-#endif
+
if(cancel){
return;
}
@@ -360,10 +354,6 @@ void CutEdgeloop(int numcuts)
/* now cut the loops */
esubdivideflag(SELECT,0,0,numcuts,1);
- force_draw(0);
- DAG_object_flush_update(G.scene, G.obedit, OB_RECALC_DATA);
- scrarea_queue_winredraw(curarea);
-
/* if this was a single cut, enter edgeslide mode */
if(numcuts == 1){
if(cuthalf)
@@ -374,7 +364,9 @@ void CutEdgeloop(int numcuts)
}
}
}
-
+ //force_draw(0);
+ DAG_object_flush_update(G.scene, G.obedit, OB_RECALC_DATA);
+ scrarea_queue_winredraw(curarea);
return;
}