- bug fix, extrude and duplicate automatically enter transform which
may request info from the derived surface, this means we have to force a manual recalc before we enter transform... proper design of mesh data invalidation/recalc should make this unnecessary...
This commit is contained in:
@@ -584,6 +584,15 @@ void extrude_mesh(void)
|
||||
EM_fgon_flags();
|
||||
countall();
|
||||
|
||||
/* We need to force immediate calculation here because
|
||||
* transform may use derived objects (which are now stale).
|
||||
*
|
||||
* This shouldn't be necessary, derived queries should be
|
||||
* automatically building this data if invalid. Or something.
|
||||
*/
|
||||
DAG_object_flush_update(G.scene, G.obedit, OB_RECALC_DATA);
|
||||
object_handle_update(G.obedit);
|
||||
|
||||
/* individual faces? */
|
||||
BIF_TransformSetUndo("Extrude");
|
||||
if(nr==2) {
|
||||
|
||||
Reference in New Issue
Block a user