FEM: beam rotation object, deactivate task panel since reference shapes are not yet supported for rotations

This commit is contained in:
Bernd Hahnebach
2018-01-23 06:39:28 +01:00
committed by wmayer
parent b9052e72cd
commit 50860ea656

View File

@@ -63,6 +63,8 @@ class _ViewProviderFemElementRotation1D:
def onChanged(self, vobj, prop):
return
'''
# do not activate the task panel, since rotation with reference shapes is not yet supported
def setEdit(self, vobj, mode=0):
taskd = _TaskPanelFemElementRotation1D(self.Object)
taskd.obj = vobj.Object
@@ -80,6 +82,7 @@ class _ViewProviderFemElementRotation1D:
else:
FreeCAD.Console.PrintError('Active Task Dialog found! Please close this one first!\n')
return True
'''
def __getstate__(self):
return None