- 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.
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user