yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #11002
[Branch ~yade-pkg/yade/git-trunk] Rev 4037: Clean in ymport.stl
------------------------------------------------------------
revno: 4037
committer: Anton Gladky <gladky.anton@xxxxxxxxx>
timestamp: Wed 2014-06-25 14:54:16 +0200
message:
Clean in ymport.stl
Remove unneded and commented lines
modified:
py/ymport.py
--
lp:yade
https://code.launchpad.net/~yade-pkg/yade/git-trunk
Your team Yade developers is subscribed to branch lp:yade.
To unsubscribe from this branch go to https://code.launchpad.net/~yade-pkg/yade/git-trunk/+edit-subscription
=== modified file 'py/ymport.py'
--- py/ymport.py 2014-06-12 16:54:31 +0000
+++ py/ymport.py 2014-06-25 12:54:16 +0000
@@ -112,12 +112,9 @@
b.shape.color=color if color else utils.randomColor()
b.shape.wire=wire
b.shape.highlight=highlight
- pos,ori=b.state.pos,b.state.ori
+ pos=b.state.pos
utils._commonBodySetup(b,0,Vector3(0,0,0),material=material,pos=pos,noBound=noBound,dynamic=dynamic,fixed=fixed)
- #b.state.pos,b.state.ori=pos,ori
- b.state.ori=ori
- b.aspherical=False
- #b.dynamic=dynamic
+ b.aspherical=False
return facets
def gts(meshfile,shift=(0,0,0),scale=1.0,**kw):