Bugfix (based on user mailing me): In editmode, "remove doubles" crashes

when it uses subsurf display. Was missing a DAG update.
This commit is contained in:
Ton Roosendaal 2005-10-24 09:00:33 +00:00
parent ec58f413b1
commit 6181a5ad41

@ -3008,6 +3008,7 @@ void do_meshbuts(unsigned short event)
break;
case B_REMDOUB:
notice("Removed: %d", removedoublesflag(1, G.scene->toolsettings->doublimit));
DAG_object_flush_update(G.scene, ob, OB_RECALC_DATA);
allqueue(REDRAWVIEW3D, 0);
BIF_undo_push("Rem Doubles");
break;