Draft: fixed #1664 again

This commit is contained in:
Yorik van Havre 2015-01-04 20:38:47 -02:00
parent b2e32abe7e
commit 9ee08a97ea
2 changed files with 2 additions and 0 deletions

View File

@ -38,6 +38,7 @@ def makeFloor(objectslist=None,baseobj=None,name=translate("Arch","Floor")):
'''makeFloor(objectslist): creates a floor including the
objects from the given list.'''
obj = FreeCAD.ActiveDocument.addObject("App::DocumentObjectGroupPython",name)
obj.Label = name
_Floor(obj)
if FreeCAD.GuiUp:
_ViewProviderFloor(obj.ViewObject)

View File

@ -2331,6 +2331,7 @@ class Rotate(Modifier):
self.center = self.point
self.node = [self.point]
self.ui.radiusUi()
self.ui.radiusValue.setText(self.ui.AFORMAT % 0)
self.ui.hasFill.hide()
self.ui.labelRadius.setText("Base angle")
self.arctrack.setCenter(self.center)