4PointCutting: Really abort execution when markers don't specify a valid region (missing return statement)
This commit is contained in:
		
							parent
							
								
									c9c84de9f2
								
							
						
					
					
						commit
						f7734e9511
					
				| @ -125,8 +125,10 @@ if edit_mode <= 0 then | ||||
|     return | ||||
| elseif (edit_mode == 1 or edit_mode == 2 or edit_mode == 5) and (mark_srcin_pos >= mark_srcout_pos) then | ||||
|     msg('SRC-IN Marker must be set left of SRC-OUT marker! Aborting.') | ||||
|     return | ||||
| elseif (edit_mode == 3 or edit_mode == 4 or edit_mode == 5) and (mark_dstin_pos >= mark_dstout_pos) then | ||||
|     msg('DST-IN Marker must be set left of DST-OUT marker! Aborting.') | ||||
|     return | ||||
| end | ||||
| 
 | ||||
| -- Do stuff before actual edits... | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user