Title: | Pre\Post render mel fails maya scene in batch when no ornatrix is the scene |
Category: | Crash/Critical |
Status: | Closed |
Posted By: | andyw ( Andrew Wilkoff ) |
Date Created: | 24 April 2020 |
Title: | Pre\Post render mel fails maya scene in batch when no ornatrix is the scene |
Category: | Crash/Critical |
Status: | Closed |
Posted By: | andyw ( Andrew Wilkoff ) |
Date Created: | 24 April 2020 |
Description: | Sometimes when ornatrix is activated but there are no hair systems in the scene the pre\post-render mel is still there. Most of the time we catch it and simply remove the pre\post render mel and everything is fine. but often we miss it and rendered frames will fail in batch mode on the farm. Can you add a simple exception to the pre\post render mel to instead of fail (because of not hair systems) that it will simply try to run the command and not error out if no hair systems are present |
Steps to Reproduce: |
27 April 2020
#27288 | ||
29 April 2020
#27314 | ||
Hi Andy. Of what I understand, you suggest to wrap the pre/post render scripts in 'catchQuiet' so they don't cause an error if Ornatrix is not installed. We're reluctant to do that. These scripts are removed when Ornatrix is unloaded from the Plugin Manager, so what we suggest is to always unload Ornatrix when removing the hair from a scene. We'll add this recommendation to the Removing Ornatrix from a Scene page. Ivan Kolev (Software Developer, EPHERE Inc.) E-mail: ivan.kolev at ephere dot com Discord: ikolev | ||
29 April 2020
#27315 | ||
i understand but there are often times where the pluing is installed and there are not ornatrix systems in the scene but the pre\post mel for some reason is there. Often artists open a scene that has a requirement and will load orntarix without their knowdlege and the pre\post mel. As you suggested a simple quiet catch or simple catch to check if any fur systems are in the scene seems reasonable. I don't understand the reluctance. | ||
6 May 2020
#27337 | ||
OK, let's give it a try. The change is already available in the nightly builds of V3 (23593+). There have been no changes on V2 since the latest stable build, so I'll upload here just the script file that has changed (BTW, the file is the same on the V3 branch so it can be also retrieved from the Zip distribution of the V3 nightly build). Just replace the corresponding file in the scripts\Autoload folder. Please let us know if there are any problems. Ivan Kolev (Software Developer, EPHERE Inc.) E-mail: ivan.kolev at ephere dot com Discord: ikolev |