From ed7ad967c44b2a7db88c183690d0cb7d60fd43c5 Mon Sep 17 00:00:00 2001 From: Bernd Hahnebach Date: Fri, 4 Aug 2017 07:06:36 +0200 Subject: [PATCH] FEM: constraint self weight view provider, delete display modes - the new constraint python includes the display modes already - constraint self weight is retrieved from this new constraint python - thus the display modes can be removed from the view provider --- .../Fem/PyGui/_ViewProviderFemConstraintSelfWeight.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/Mod/Fem/PyGui/_ViewProviderFemConstraintSelfWeight.py b/src/Mod/Fem/PyGui/_ViewProviderFemConstraintSelfWeight.py index 267cabc1f1..e1c981a862 100644 --- a/src/Mod/Fem/PyGui/_ViewProviderFemConstraintSelfWeight.py +++ b/src/Mod/Fem/PyGui/_ViewProviderFemConstraintSelfWeight.py @@ -27,8 +27,6 @@ __url__ = "http://www.freecadweb.org" ## @package ViewProviderFemConstraintSelfWeight # \ingroup FEM -from pivy import coin - class _ViewProviderFemConstraintSelfWeight: "A View Provider for the FemConstraintSelfWeight object" @@ -41,14 +39,6 @@ class _ViewProviderFemConstraintSelfWeight: def attach(self, vobj): self.ViewObject = vobj self.Object = vobj.Object - self.standard = coin.SoGroup() - vobj.addDisplayMode(self.standard, "Standard") - - def getDisplayModes(self, obj): - return ["Standard"] - - def getDefaultDisplayMode(self): - return "Standard" def updateData(self, obj, prop): return