when calling bakeMap, do you need to specify a filename as well instead of just C:\?
There is nothing wrong with using global variables in code. It is simply not feasible to pass variables to all functions based on a checkbox, listbox…
as already stated, you need to declare all of your functions and rollouts globally above all the code for it to evaulate correctly the first time.
the edit_mesh modifer is very limited in access, best to use edit_poly
hey shane, try creating a dummy scene by deleting all the objects in the xref giving you errors, and xref scene it into a brand new max and try the BB…
ah ok thanks!
Why are there commas after the lines? Remove them.
If you need all the maps in a material loop through the .maps array searching if they are classof BitmapTexture.
ctrl-x is by default expert mode… it’s handy.
yes, because when you delete a layer while going through them then your layermanager.count changes to minus 1… So it will error out because it will b…
Always glad to help! Keep posting.
I don’t quite understand the problem but I can help optimize your code also put code in [ code ] brackets for easier reading and the try()catch() shou…
I’ll error-check it in a bit when I get some time and let you know.
It appears to be working correctly, however I do get this run-time error, at first glance at a missing bitmap or something that exists in the scene. …