In sculpt mode, Object transform still worked, which was:
1) Not undo-able (sculpt undo stack)
2) Clearing the entire sculpt undo stack on operator redo
3) Had keymap conflict for R

Simply added check for this case and return trans operator.
This commit is contained in:
2010-12-19 09:41:41 +00:00
parent de1bb51b0a
commit e53921cf40

View File

@@ -5391,6 +5391,9 @@ void createTransData(bContext *C, TransInfo *t)
sort_trans_data_dist(t);
}
}
else if (ob && (ob->mode & OB_MODE_SCULPT)) {
/* sculpt mode has own undo stack, transform ops redo clears sculpt undo stack */
}
else {
createTransObject(C, t);
t->flag |= T_OBJECT;