assembly: support getDropPrefix() API
This commit is contained in:
parent
2bb2afd651
commit
59b9b41628
|
@ -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__)
|
||||
|
|
Loading…
Reference in New Issue
Block a user