2.5
F6 menu "redo last operation" now works, mostly :) Try it in editmode on add-UV-Sphere, or Subdivide, those work fine. Transform ops have some feedback issues or so. This is a temporary commit; brecht will take this further with nice code (event system doesn't make menus as active region but sets the original context instead, as stored in ui handler.)
This commit is contained in:
		@@ -635,6 +635,10 @@ uiPopupBlockHandle *ui_popup_block_create(bContext *C, ARegion *butregion, uiBut
 | 
			
		||||
	/* create handle */
 | 
			
		||||
	handle= MEM_callocN(sizeof(uiPopupBlockHandle), "uiPopupBlockHandle");
 | 
			
		||||
 | 
			
		||||
	/* store context for operator */
 | 
			
		||||
	handle->ctx_area= CTX_wm_area(C);
 | 
			
		||||
	handle->ctx_region= CTX_wm_region(C);
 | 
			
		||||
	
 | 
			
		||||
	/* create area region */
 | 
			
		||||
	ar= ui_add_temporary_region(CTX_wm_screen(C));
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user