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:
authorDaniel Dunbar <daniel@zuster.org>2005-07-16 00:56:55 +0400
committerDaniel Dunbar <daniel@zuster.org>2005-07-16 00:56:55 +0400
commit8d2176bfeb863429cc5d689d8da14e76e8ce8135 (patch)
tree92f179b73aea6ee5ab0e1574aac7cc9208efe89a /source/blender/src/editmesh_loop.c
parent10d865df2523f9ca10b76ee301444c444d330bb5 (diff)
- removed makeDispList, set_displist_onlyzero
- appropriate callers of makeDispList replaced with depgraph calls - unappropriate places just killed... small chance this gives some errors in corner cases if dep graph isn't notified (example, font family displists) but these can be tracked down as they show up. - still a large number of callers of makeDispListCurveTypes, but makeDispListMesh has just a few.
Diffstat (limited to 'source/blender/src/editmesh_loop.c')
-rw-r--r--source/blender/src/editmesh_loop.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/src/editmesh_loop.c b/source/blender/src/editmesh_loop.c
index 3454873d416..fccde48edfb 100644
--- a/source/blender/src/editmesh_loop.c
+++ b/source/blender/src/editmesh_loop.c
@@ -54,6 +54,7 @@ editmesh_loop: tools with own drawing subloops, select, knife, subdiv
#include "BLI_arithb.h"
#include "BLI_editVert.h"
+#include "BKE_depsgraph.h"
#include "BKE_displist.h"
#include "BKE_global.h"
#include "BKE_library.h"
@@ -351,7 +352,7 @@ void CutEdgeloop(int numcuts){
esubdivideflag(SELECT,0,0,numcuts,1);
force_draw(0);
- makeDispList(G.obedit);
+ DAG_object_flush_update(G.scene, G.obedit, OB_RECALC_DATA);
scrarea_queue_winredraw(curarea);
/* if this was a single cut, enter edgeslide mode */