Bugfix #25292
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:
		@@ -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;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user