Removed some commented (obsolete) code. 6_1_x

Sun, 06 Dec 2015 14:54:10 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 06 Dec 2015 14:54:10 +0100
branch
6_1_x
changeset 4616
0e2efb2fa4fd
parent 4611
8893614fc54a
child 4617
0a4f42d22bde

Removed some commented (obsolete) code.
(grafted from 93732395fc1d75c79581029cedf7a87b02bef367)

Graphics/PackageDiagramBuilder.py file | annotate | diff | comparison | revisions
Graphics/UMLClassDiagramBuilder.py file | annotate | diff | comparison | revisions
--- a/Graphics/PackageDiagramBuilder.py	Sun Dec 06 16:19:46 2015 +0100
+++ b/Graphics/PackageDiagramBuilder.py	Sun Dec 06 14:54:10 2015 +0100
@@ -340,12 +340,7 @@
             
         # add in some whitespace
         width = width * whiteSpaceFactor
-##        rawHeight = height
         height = height * whiteSpaceFactor - 20
-##        verticalWhiteSpace = max(
-##            (height - rawHeight) / (len(generations) - 1.0 or 2.0),
-##            40.0
-##        )
         verticalWhiteSpace = 40.0
         
         sceneRect = self.umlView.sceneRect()
--- a/Graphics/UMLClassDiagramBuilder.py	Sun Dec 06 16:19:46 2015 +0100
+++ b/Graphics/UMLClassDiagramBuilder.py	Sun Dec 06 14:54:10 2015 +0100
@@ -195,12 +195,7 @@
         
         # add in some whitespace
         width = width * whiteSpaceFactor
-##        rawHeight = height
         height = height * whiteSpaceFactor - 20
-##        verticalWhiteSpace = max(
-##            (height - rawHeight) / (len(generations) - 1.0 or 2.0),
-##            40.0
-##        )
         verticalWhiteSpace = 40.0
         
         sceneRect = self.umlView.sceneRect()

eric ide

mercurial