Linear array: fix read-onlyness of Point
It was not editable, when Link was filled but PointIsDriven was set to false.
This commit is contained in:
parent
033902e6ae
commit
3e08e54c74
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user