ReferencePlacement: fix viewprovider update when setting refplm to None
This commit is contained in:
parent
64879965ba
commit
d8a3293dbc
|
@ -155,6 +155,8 @@ class LatticeFeature(object):
|
||||||
if refplm is None:
|
if refplm is None:
|
||||||
if hasattr(selfobj, attr):
|
if hasattr(selfobj, attr):
|
||||||
selfobj.removeProperty(attr)
|
selfobj.removeProperty(attr)
|
||||||
|
if selfobj.ViewObject is not None:
|
||||||
|
selfobj.ViewObject.Proxy.updateData(selfobj,'ReferencePlacement')
|
||||||
else:
|
else:
|
||||||
if not hasattr(selfobj, attr):
|
if not hasattr(selfobj, attr):
|
||||||
selfobj.addProperty(
|
selfobj.addProperty(
|
||||||
|
|
Loading…
Reference in New Issue
Block a user