Blender Git Loki
Git Commits -> Revision dd17f7e
Revision dd17f7e by Willian Padovani Germano (master) March 19, 2005, 18:23 (GMT) |
BPython: - Added Blender.Run(script) + doc update (forgot to mention in my previous commit). Trying to fix two mistakes from my previous commit: - nmesh.transform(): forgot yesterday that affine vectors have 4th component = 0, now updated normals transformation accordingly. - As Ton pointed, recursive parsing of scripts dirs in search of scripts was a mess. I simply forgot about the "//" trick and much worse, to protect against worst cases ("/", for example). Now the code uses BLI_convertstringcode to take care of "//", doesn't process if dir = "/" and there are limits: max depth for traversing subdirs = 4 max dirs in the tree = 30. I'll work more on this, check more, but these changes were tested and should make the code safer, of course, so I'm committing. Sorry about the mess, I should take lessons on defensive programming ... |
Commit Details:
Full Hash: dd17f7e725a9380c1e73b90cab8465bc0546fb8e
SVN Revision: 3973
Parent Commit: 0d1738e
Lines Changed: +62, -23