From 1bb95ccd09c4d6dd24391c121b014689b4f2488a Mon Sep 17 00:00:00 2001 From: DeepSOIC Date: Tue, 22 Dec 2015 21:55:24 +0300 Subject: [PATCH] PopulateChildren: fix not working when looped --- lattice2PopulateChildren.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lattice2PopulateChildren.py b/lattice2PopulateChildren.py index 129c7d6..17475ac 100644 --- a/lattice2PopulateChildren.py +++ b/lattice2PopulateChildren.py @@ -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)