diff --git a/src/Mod/Arch/ArchBuildingPart.py b/src/Mod/Arch/ArchBuildingPart.py index afab0f5997..2a1ed5d8a7 100644 --- a/src/Mod/Arch/ArchBuildingPart.py +++ b/src/Mod/Arch/ArchBuildingPart.py @@ -500,6 +500,7 @@ class ViewProviderBuildingPart: self.txt.justification = coin.SoText2.LEFT self.txt.string.setValue("level") self.sep.addChild(self.txt) + vobj.addDisplayMode(coin.SoSeparator(),"Default") self.onChanged(vobj,"ShapeColor") self.onChanged(vobj,"FontName") self.onChanged(vobj,"ShowLevel") @@ -518,10 +519,6 @@ class ViewProviderBuildingPart: return mode - def isShow(self): - - return True - def updateData(self,obj,prop): if prop in ["Placement","LevelOffset"]: