05-14-2017, 02:26 PM
(05-13-2017, 11:31 PM)Sylk Wrote: - So, about structure scope, none of globals in this script was justified, then i did it properly. The globals "f" an "p" was especialy risky!Thanks again, I've applied that to the main script now. I also went and added the same kind of changes for the bone IDs / weight sections.
Now these mods prevents any conflicts from BFRES importer to other scripts (the reverse depends on the other scripts).
To do this I moved the functions and globals inside the rollout block (between controls and controls event handlers)
- Also I reduced the redundant "--UV info--" part into a shorter block. I left old part in comment.
PS: "range" function has been renamed too.
https://mega.nz/#!q4QwyBKa!5dBeE0YtWCqLM...h1q0l-nkZ0