From 2ffc57c49fd476f0410cd5c56e04de5ebe601fa7 Mon Sep 17 00:00:00 2001 From: Nicholas Bishop Date: Fri, 12 Jan 2007 06:17:03 +0000 Subject: [PATCH] Removed yet another use of set_sculpt_object. --- source/blender/src/space.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/source/blender/src/space.c b/source/blender/src/space.c index aa94e87f85a..ad1a0b99075 100644 --- a/source/blender/src/space.c +++ b/source/blender/src/space.c @@ -890,9 +890,6 @@ void BIF_undo(void) else { /* now also in faceselect mode */ if(U.uiflag & USER_GLOBALUNDO) { - if(G.f & G_SCULPTMODE) - set_sculpt_object(NULL); - BKE_undo_step(1); sound_initialize_sounds(); }