Re: [Yade-dev] [Branch ~yade-dev/yade/trunk] Rev 1815: Fix bug with import facets from stl

2009-11-26 Thread Anton Gladky
Now core/State.hpp produces a LOT of warnings during compilation. Please, fix it, when you finish with that. Thank you __ Anton Gladkyy 2009/11/26 Sergei D. > > > Are you sure this is OK? Can it mean that wrong State will be used? > >> ## resets state (!!)

Re: [Yade-dev] [Branch ~yade-dev/yade/trunk] Rev 1815: Fix bug with import facets from stl

2009-11-26 Thread Sergei D.
> 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... The

Re: [Yade-dev] [Branch ~yade-dev/yade/trunk] Rev 1815: Fix bug with import facets from stl

2009-11-26 Thread Václav Šmilauer
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'] ___ Mailing list: ht

[Yade-dev] [Branch ~yade-dev/yade/trunk] Rev 1815: Fix bug with import facets from stl

2009-11-26 Thread noreply
revno: 1815 committer: Sergei D. branch nick: trunk timestamp: Thu 2009-11-26 18:57:19 +0300 message: Fix bug with import facets from stl modified: py/utils.py py/ymport.py -- lp:yade https://code.launchpad.net/~yade-dev/yade/tru