PopulateChildren: fix not working when looped

This commit is contained in:
DeepSOIC 2015-12-22 21:55:24 +03:00
parent f9f6e26808
commit 1bb95ccd09

View File

@ -106,7 +106,7 @@ class LatticePopulateChildren(lattice2BaseFeature.LatticeFeature):
objectPlm = objectPlms[iChild]
outputPlms.append(plm.multiply(objectPlm))
else:
outputShape = objectShapes[iChild]
outputShape = objectShapes[iChild].copy()
outputShape.Placement = plm.multiply(outputShape.Placement)
outputShapes.append(outputShape)