FORUM CLOSED, PLEASE REGISTER AT FORUM.SIO2INTERACTIVE.COM
Would you like to react to this message? Create an account in a few clicks or log in to continue.

SIO2_Exporter.py BUG Fix for PC Users...

2 posters

Go down

SIO2_Exporter.py BUG Fix for PC Users... Empty SIO2_Exporter.py BUG Fix for PC Users...

Post  quantass Wed Oct 07, 2009 10:55 pm

Not really a bug but more an oversight correction...

On line 584 of the SIO2_Exporter.py script v1.4, i made a simple modification for PC users:

dpath = fpath.replace( directory + "/", "" ).replace( directory + "\\", "" )

Normally whenever the ZIP file is created it would contain the full directory structure it was saved to. So if i stored the file to my DESKTOP, the archive's structure would be: C:\USERS\QUANT\DESKTOP\SCENE\...

It was very annoying. As you can see from the script it was just replacing "/" slashes. I included replacing "\" slashes as well. The script now works better for me as a PC user moving his SIO2 files to the hackintosh.

Note: I cant run Blender directly on the Hackintosh due to a strange VRAM error message.

quantass

Posts : 14
Join date : 2009-09-19

Back to top Go down

SIO2_Exporter.py BUG Fix for PC Users... Empty Re: SIO2_Exporter.py BUG Fix for PC Users...

Post  sio2interactive Thu Oct 08, 2009 9:32 am

On M$ / == '\\'
sio2interactive
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 44
Location : Shanghai

http://sio2interactive.com

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum