Hey folks.

 

It seems, that there is a bug, and I need users confirmation before I
submit. So, I have created few characters in SI2013 and SI2014, that
were skinned in SI2013 (mostly). It seems, that if load these
characters, mirror weight doesn't work with them. Actually, the create
symmetry map template is what that doesn't work. I checked, and the
issue is that in scripting the size of weight array is double that of
the number of deformers!

 

If you have a model enveloped in 2013, and have access to 2014 (SP1
preferable) then run this script and please let me know, if you have
different numbers displayed!)

 

get_deformers selection(0)

 

function get_deformers               (in_obj)

 

                dim deformers, myenv, weights, i

 

                set deformers = CreateObject("XSI.Collection")

                set myenv =
in_obj.activeprimitive.constructionhistory.find("envelopop")

 

                weights = myenv.Weights.Array

                msgbox( ubound(weights,1) & " vs " &
myenv.deformers.count)

 

end function

 

Cheers

 

 

Szabolcs

___
This message contains confidential information and is intended only for the 
individual named. If you are not the named addressee you should not 
disseminate, distribute or copy this e-mail. Please notify the sender 
immediately by e-mail if you have received this e-mail by mistake and delete 
this e-mail from your system. E-mail transmission cannot be guaranteed to be 
secure or error-free as information could be intercepted, corrupted, lost, 
destroyed, arrive late or incomplete, or contain viruses. The sender therefore 
does not accept liability for any errors or omissions in the contents of this 
message, which arise as a result of e-mail transmission. If verification is 
required please request a hard-copy version. Crytek GmbH - 
http://www.crytek.com - Grüneburgweg 16-18, 60322 Frankfurt - HRB77322 
Amtsgericht Frankfurt a. Main- UST IdentNr.: DE20432461 - Geschaeftsfuehrer: 
Avni Yerli, Cevat Yerli, Faruk Yerli

Reply via email to