ArrayFilter: fix reference placement support
This commit is contained in:
parent
870ef63088
commit
56c39bd493
|
@ -70,6 +70,20 @@ class LatticeArrayFilter(lattice2BaseFeature.LatticeFeature):
|
||||||
|
|
||||||
obj.Proxy = self
|
obj.Proxy = self
|
||||||
|
|
||||||
|
def updateReadonlyness(self, selfobj, bypass_set = set()):
|
||||||
|
my_hidden = set([
|
||||||
|
'ReferencePlacement',
|
||||||
|
'ReferencePlacementLink',
|
||||||
|
'ReferencePlacementLinkIndex',
|
||||||
|
])
|
||||||
|
super(LatticeArrayFilter, self).updateReadonlyness(selfobj, bypass_set | my_hidden)
|
||||||
|
for prop in my_hidden:
|
||||||
|
if prop in bypass_set: continue
|
||||||
|
if hasattr(selfobj, prop):
|
||||||
|
selfobj.setEditorMode(prop, 2)
|
||||||
|
|
||||||
|
def recomputeReferencePlm(self, selfobj, selfplacements):
|
||||||
|
pass #suppress standard refplm recompute
|
||||||
|
|
||||||
def derivedExecute(self,obj):
|
def derivedExecute(self,obj):
|
||||||
#validity check
|
#validity check
|
||||||
|
|
Loading…
Reference in New Issue
Block a user