SIO2_Exporter.py BUG Fix for PC Users...
2 posters
SIO2_Exporter.py BUG Fix for PC Users...
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.
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
Permissions in this forum:
You cannot reply to topics in this forum