> why, if created 2 materials, we have actually 3. With indexes 0,1,2?
Which are they? utils.sphere will create a default material if there is
none and you call that function.
> O.bodies[i].material=O.material[newIndex] will be better?
Oh, yes, that's whatI suggested in the last message.

v


_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to