Bug fix:
When compositing without render (Enable composite, no renderlayer nodes) the option Full Sample AA caused havoc. Added warning for this case and gracefully stop render.
This commit is contained in:
		@@ -2726,11 +2726,17 @@ int RE_is_rendering_allowed(Scene *scene, void *erh, void (*error)(void *handle,
 | 
			
		||||
				if(node->type==CMP_NODE_COMPOSITE)
 | 
			
		||||
					break;
 | 
			
		||||
			
 | 
			
		||||
			
 | 
			
		||||
			if(node==NULL) {
 | 
			
		||||
				error(erh, "No Render Output Node in Scene");
 | 
			
		||||
				return 0;
 | 
			
		||||
			}
 | 
			
		||||
			
 | 
			
		||||
			if(scene->r.scemode & R_FULL_SAMPLE) {
 | 
			
		||||
				if(composite_needs_render(scene)==0) {
 | 
			
		||||
					error(erh, "Full Sample AA not supported without 3d rendering");
 | 
			
		||||
					return 0;
 | 
			
		||||
				}
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
	
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user