📝 add comment and warning about unspecified RS version

This commit is contained in:
Ondřej Samohel 2024-01-08 12:09:06 +01:00
parent 5d787d3fc3
commit cf17ea8377
No known key found for this signature in database
GPG key ID: 02376E18990A97C6

View file

@ -273,8 +273,20 @@ class HoudiniSubmitDeadline(
plugin_info = RedshiftRenderPluginInfo(
SceneFile=instance.data["ifdFile"]
)
# Note: To use different versions of Redshift on Deadline
# set the `REDSHIFT_VERSION` env variable in the Tools
# settings in the AYON Application plugin. You will also
# need to set that version in `Redshift.param` file
# of the Redshift Deadline plugin:
# [Redshift_Executable_*]
# where * is the version number.
if os.getenv("REDSHIFT_VERSION"):
plugin_info.Version = os.getenv("REDSHIFT_VERSION"),
plugin_info.Version = os.getenv("REDSHIFT_VERSION")
else:
self.log.warning((
"REDSHIFT_VERSION env variable is not set"
" - using version configured in Deadline"
))
else:
self.log.error(