forked from bartvdbraak/blender
bug [#25292] No undo scale with sculpt mode
applies to project paint too, added with comment.
This commit is contained in:
parent
79bb472720
commit
8dcd210de0
@ -5391,8 +5391,12 @@ 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 if (ob && (ob->mode & (OB_MODE_SCULPT|OB_MODE_TEXTURE_PAINT))) {
|
||||
/* sculpt mode and project paint have own undo stack
|
||||
* transform ops redo clears sculpt/project undo stack.
|
||||
*
|
||||
* Could use 'OB_MODE_ALL_PAINT' since there are key conflicts,
|
||||
* transform + paint isnt well supported. */
|
||||
}
|
||||
else {
|
||||
createTransObject(C, t);
|
||||
|
Loading…
Reference in New Issue
Block a user