Removed yet another use of set_sculpt_object.
This commit is contained in:
@@ -890,9 +890,6 @@ void BIF_undo(void)
|
|||||||
else {
|
else {
|
||||||
/* now also in faceselect mode */
|
/* now also in faceselect mode */
|
||||||
if(U.uiflag & USER_GLOBALUNDO) {
|
if(U.uiflag & USER_GLOBALUNDO) {
|
||||||
if(G.f & G_SCULPTMODE)
|
|
||||||
set_sculpt_object(NULL);
|
|
||||||
|
|
||||||
BKE_undo_step(1);
|
BKE_undo_step(1);
|
||||||
sound_initialize_sounds();
|
sound_initialize_sounds();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user