Merge pull request #19433 from tritao/gui-general-code-cleanups
Gui: General code cleanups
This commit is contained in:
@@ -428,7 +428,6 @@ class ViewProviderBuildingPart:
|
||||
def __init__(self,vobj):
|
||||
|
||||
vobj.addExtension("Gui::ViewProviderGroupExtensionPython")
|
||||
#vobj.addExtension("Gui::ViewProviderGeoFeatureGroupExtensionPython")
|
||||
vobj.Proxy = self
|
||||
self.setProperties(vobj)
|
||||
vobj.ShapeColor = ArchCommands.getDefaultColor("Helpers")
|
||||
|
||||
@@ -292,7 +292,7 @@ class BIM_Views:
|
||||
top.addChild(i)
|
||||
vm.viewtree.addTopLevelItem(top)
|
||||
|
||||
# set TreeVinew Item selected if obj is selected
|
||||
# set TreeView Item selected if obj is selected
|
||||
bold = QtGui.QFont()
|
||||
bold.setBold(True)
|
||||
objSelected = FreeCADGui.Selection.getSelection()
|
||||
|
||||
@@ -1446,7 +1446,7 @@ class boxTracker(Tracker):
|
||||
|
||||
|
||||
class radiusTracker(Tracker):
|
||||
"""A tracker that displays a transparent sphere to inicate a radius."""
|
||||
"""A tracker that displays a transparent sphere to indicate a radius."""
|
||||
|
||||
def __init__(self, position=FreeCAD.Vector(0, 0, 0), radius=1):
|
||||
self.trans = coin.SoTransform()
|
||||
|
||||
Reference in New Issue
Block a user