Mod Tool: Difference between revisions

433 bytes added ,  13 October 2013
m
allowing relative pathes
m (v8 : Oni Object Library preview)
m (allowing relative pathes)
Line 1,650: Line 1,650:
  logmessage XSIUtils.ResolvePath("$XSI_HOME/") & "Application\DSScripts\Model.vbs"
  logmessage XSIUtils.ResolvePath("$XSI_HOME/") & "Application\DSScripts\Model.vbs"
  ' C:\Softimage\Softimage_Mod_Tool_7.5\Application\DSScripts\Model.vbs
  ' C:\Softimage\Softimage_Mod_Tool_7.5\Application\DSScripts\Model.vbs
There are two issues that can be fixed by modifying this file.
* import of xml files created by onisplit
* import of dae and xml files with relative path from a html page
Relative file pathes will be transformed to absolute pathes whereby an unwanted "file:///" is added.
A solution to is to transform the path again.
if instr(in_Filename,"file:///") = 1 then
in_Filename = replace(in_Filename, "file:///", "")
end if
[...]




8,452

edits