ZBrushCentral

ZScript loading Time?! (never mind solved)

Some of my ZScripts which used to load instantly in Zbrush 3.1 are now taking very large loading times like 2 minutes to load otherwise crash if u click while loading in Zbrush 3.5??

Also certain things make it crash in 3.5 which never crashed in 3.1

Why is this, could it be my specific script?
What must I change in the old scripts to optimize for Z3.5?

Also whenever I press Escape to cancel an operation key during a script it just exits all of Zbrush!

Thanks!

I think I found it, I have a few variables which I assign as a double array (workaround) as this for instance:

[Vardef, ZSphereX (500 * 100), 0]
etc

This is what takes so much time it seems

which is weird because I had many of these in Zbrush 3.1 and they calculated instantly and worked fluidly in fact (i’m running both side by side and comparing on both PCs, one takes a fraction of a second, the other takes an entire minute to load the script and define these kinds of large arrays).

Why in 3.5 is it slow?

Never Mind I fouind the problem now!

It must have been a bug in Z3.1 where even i u write

[Vardef, ZSphereX (500 * 100), 0]

it doesnt initialize everything to 0 coz that wud take naturally a very long time

I changed it to

[Vardef, ZSphereX (500 * 100)]
without initializing anything, and it worked in 3.5!

But still when I press escape key to cancel an operation such as preview scene and goes through timeline, it exits entire program =( unlike in 3.1

Cheers