Skip to content
Snippets Groups Projects
Commit 90244053 authored by Jesse Kaukonen's avatar Jesse Kaukonen
Browse files

Removed RGBA check as the color mode can now also be RGB.

parent 3ef73cf7
No related branches found
No related tags found
No related merge requests found
...@@ -717,11 +717,6 @@ class ORE_PrepareOp(bpy.types.Operator): ...@@ -717,11 +717,6 @@ class ORE_PrepareOp(bpy.types.Operator):
self.report({'WARNING'}, "Renderfarm.fi always uses PNG for output. Changing to PNG.") self.report({'WARNING'}, "Renderfarm.fi always uses PNG for output. Changing to PNG.")
errors = True errors = True
rd.file_format = 'PNG' rd.file_format = 'PNG'
if rd.color_mode != 'RGBA':
print("Color mode must be set to RGBA. Changing to RGBA.")
self.report({'WARNING'}, "Color mode must be set to RGBA. Changing to RGBA.")
errors = True
rd.color_mode = 'RGBA'
if (rd.use_sss == True or hasSSSMaterial()) and ore.parts > 1: if (rd.use_sss == True or hasSSSMaterial()) and ore.parts > 1:
print("Subsurface Scattering is not supported when rendering with parts > 1. Disabling") print("Subsurface Scattering is not supported when rendering with parts > 1. Disabling")
self.report({'WARNING'}, "Subsurface Scattering is not supported when rendering with parts > 1. Disabling") self.report({'WARNING'}, "Subsurface Scattering is not supported when rendering with parts > 1. Disabling")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment