Hi Jesse,

hmm true we just render on win, all work gets done on linux...
but in conjuntion with your onscriptsave callback, all should be good ?!

If the callback also checks for the OS it would only affect the one lx machine..

if os == linux:
    convert all paths which do not startwith [a-z]:\


Cheers
johannes

Am 12/15/12 11:23 PM, schrieb Jesse Kretschmer:
On Sat, Dec 15, 2012 at 3:21 AM, Johannes Hezer <j.he...@studiorakete.de <mailto:j.he...@studiorakete.de>> wrote:

    Hi

    From the looks of it it mimics the filename filter callback ?!

    
http://docs.thefoundry.co.uk/nuke/70/pythondevguide/callbacks.html#filenamefilter

    We use this in our win/linux environment and sofar there have not
    been problems...

    Cheers
    johannes


Hah, I love when I code something only to find it's built-in. The filenamefilter is clearly the better way.

Still, the filter and it's compliment would have to be made available to all workstations and render nodes for this to work. This does not prevent the linux machine from saving files with linux paths in them. That's probably a non-issue, but I would prefer to have windows file paths in all files always.


_______________________________________________
Nuke-python mailing list
Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

_______________________________________________
Nuke-python mailing list
Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to