assembly: support getDropPrefix() API

This commit is contained in:
Zheng, Lei 2018-10-11 06:32:47 +08:00
parent 2bb2afd651
commit 59b9b41628

View File

@ -3369,6 +3369,9 @@ class ViewProviderAssembly(ViewProviderAsmGroup):
partGroup,owner,subname = info
return '2.{}'.format(partGroup.dropObject(obj,owner,subname))
def getDropPrefix(self):
return '2.'
def getIcon(self):
if getattr(self.ViewObject.Object,'Freeze',False):
return utils.getIcon(self.__class__)