Forum: Poser Python Scripting


Subject: Changed "CollectSceneInventory"

bantha opened this issue on Feb 23, 2008 · 20 posts


bantha posted Sat, 23 February 2008 at 5:55 PM

Hi. I changed the "CollectSceneInventory.py" script, which is a standard Utility, to  make it usefull.
😄

The two major changes are that it will handle textures with a relative path now. ("Runtime:textures:...") It searches the texture in all included libraries, with the relativ path found in the node

Second, it changes the node to point at the new location before saving. This is usefull if you want to resize or change the textures without harming the original ones - the original script saved a pz3 which still points at the original locations and would not always copy textures with a relative path.

Does anyone know if it's ok to distribute the hacked version? Since all Poser users have the original version, and people without Poser cannot do anything without it?

I could encode it or use diff of course, but will that be nessesary?


A ship in port is safe; but that is not what ships are built for.
Sail out to sea and do new things.
-"Amazing Grace" Hopper

Avatar image of me done by Chidori