Home Website Youtube GitHub

Relative Paths in Post-Preprocess

In mgear 3.6 you used relative path for custom pre and post process, one of the errors I found when I test to rebuild in 5.0 a rig done in 3.6 is that preprocess and postprocess expect and absolute path, I see there is a new field above in the ui that maybe let you specify the root of where custom scripts are placed but couldn’t make it work, there is any documentation about this change I can take a look to make it work properly?

I search in the forum but I couldn’t find anything about it.
Thanks in advance!

David

hmm, I don’t think relative was ever default, was it? The bar above the scripts is a search field that highlights pattern matches.

In my experience, you always had to define the path with an environment variable:

MGEAR_SHIFTER_CUSTOMSTEP_PATH = /Your/Script/Path

My first guess (unless something actually did change) is that you had that set in an older Maya preferences Maya.env, and not in your current one?

1 Like