FEM: mesh gmsh vp, comment

This commit is contained in:
Bernd Hahnebach
2020-03-10 22:23:00 +01:00
parent c04344227d
commit 29871f3b63

View File

@@ -212,6 +212,7 @@ class _ViewProviderFemMeshGmsh:
def canDropObjects(self):
return True
# TODO use femutils module methods for type checking
def canDragObject(self, dragged_object):
if hasattr(dragged_object, "Proxy") \
and dragged_object.Proxy.Type == "Fem::MeshBoundaryLayer":