Remain silent if cant create RS ROP
This commit is contained in:
parent
4c500b24e5
commit
ec30d1f85b
@ -34,7 +34,10 @@ def rop_redshift():
|
||||
out = hou.node('/out')
|
||||
rop = out.node('Redshift_ROP1')
|
||||
if not rop:
|
||||
rop = out.createNode('Redshift_ROP')
|
||||
try:
|
||||
rop = out.createNode('Redshift_ROP')
|
||||
except:
|
||||
return None, None
|
||||
rop.moveToGoodPosition()
|
||||
rop.parm("ProgressiveRenderingEnabled").set(True)
|
||||
rop.parm('PrimaryGIEngine').set('RS_GIENGINE_BRUTE_FORCE')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user