ReferencePlacement: fix viewprovider update when setting refplm to None

This commit is contained in:
DeepSOIC 2018-09-05 21:44:22 +03:00
parent 64879965ba
commit d8a3293dbc

View File

@ -155,6 +155,8 @@ class LatticeFeature(object):
if refplm is None:
if hasattr(selfobj, attr):
selfobj.removeProperty(attr)
if selfobj.ViewObject is not None:
selfobj.ViewObject.Proxy.updateData(selfobj,'ReferencePlacement')
else:
if not hasattr(selfobj, attr):
selfobj.addProperty(