Timeline Notifier Listener:
* Added ND_FRAME_RANGE to the header listener, changing frame range in Properties Window didn't update it in the timeline, reported by Hardworker in IRC. Thanks! * Main Area Listener doesn't listen to all NC_SCENE Notifiers now, only selected ND Notifiers, like the header does. This is more efficient. If there is a reason to let it listen to all NC_SCENE notifiers, please tell me. :)
This commit is contained in:
		@@ -509,9 +509,14 @@ static void time_main_area_listener(ARegion *ar, wmNotifier *wmn)
 | 
			
		||||
			break;
 | 
			
		||||
		
 | 
			
		||||
		case NC_SCENE:
 | 
			
		||||
			switch (wmn->data) {
 | 
			
		||||
				case ND_FRAME:
 | 
			
		||||
				case ND_FRAME_RANGE:
 | 
			
		||||
				case ND_KEYINGSET:
 | 
			
		||||
				case ND_RENDER_OPTIONS:
 | 
			
		||||
					ED_region_tag_redraw(ar);
 | 
			
		||||
				break;
 | 
			
		||||
		
 | 
			
		||||
			}
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@@ -540,6 +545,7 @@ static void time_header_area_listener(ARegion *ar, wmNotifier *wmn)
 | 
			
		||||
		case NC_SCENE:
 | 
			
		||||
			switch (wmn->data) {
 | 
			
		||||
				case ND_FRAME:
 | 
			
		||||
				case ND_FRAME_RANGE:
 | 
			
		||||
				case ND_KEYINGSET:
 | 
			
		||||
				case ND_RENDER_OPTIONS:
 | 
			
		||||
					ED_region_tag_redraw(ar);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user