diff --git a/lattice2LinearArray.py b/lattice2LinearArray.py index a3f1340..5aa94f6 100644 --- a/lattice2LinearArray.py +++ b/lattice2LinearArray.py @@ -80,7 +80,7 @@ class LinearArray(lattice2BaseFeature.LatticeFeature): def updateReadonlyness(self, obj): obj.setEditorMode("Dir", 1 if (obj.Link and obj.DirIsDriven) else 0) - obj.setEditorMode("Point", 1 if (obj.Link and not obj.PointIsDriven) else 0) + obj.setEditorMode("Point", 1 if (obj.Link and obj.PointIsDriven) else 0) obj.setEditorMode("DirIsDriven", 0 if obj.Link else 1) obj.setEditorMode("PointIsDriven", 0 if obj.Link else 1) obj.setEditorMode("DrivenProperty", 0 if obj.Link else 1)