Fixed unit tests to support multiple base models.

This commit is contained in:
Markus Lampert
2018-08-29 21:46:03 -07:00
committed by wmayer
parent 5d026b6fb6
commit 256d42e2de
6 changed files with 34 additions and 16 deletions

View File

@@ -160,6 +160,9 @@ class ObjectJob:
obj.Model.removeObject(base)
obj.Document.removeObject(base.Name)
def modelBoundBox(self, obj):
return PathStock.shapeBoundBox(obj.Model.Group)
def onDelete(self, obj, arg2=None):
'''Called by the view provider, there doesn't seem to be a callback on the obj itself.'''
PathLog.track(obj.Label, arg2)