SIO2_Exporter.py BUG Fix for PC Users...

View previous topic View next topic Go down

SIO2_Exporter.py BUG Fix for PC Users...

Post  quantass on 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

View user profile

Back to top Go down

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

Post  sio2interactive on Thu Oct 08, 2009 9:32 am

On M$ / == '\\'

_________________
SIO2 Interactive
Free Open Source 3D Game Engine for iPhone and iPod Touch
http://sio2interactive.com

sio2interactive

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

View user profile http://sio2interactive.com

Back to top Go down

View previous topic View next topic Back to top


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