> Are you sure this is OK? Can it mean that wrong State will be used?
>>         ## resets state (!!)
>> -       b.state=b.mat.newAssocState()
>> +       if resetState: b.state=b.mat.newAssocState()
>>         mass=volume*b.mat['density']

So, is the state defined by the material? Logically...
Then, this is workaround, because when geometry is imported from a stl,
the STLImporter first creates facets and specifies the state, after
which the user  specifies the remaining variables. Thus, the material is
specifies by the second... and resets the imported state.

S.D.


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

Reply via email to