Added multibody support.

This commit is contained in:
Jose Luis Cercós Pita
2012-02-01 14:02:27 +01:00
parent fab2267823
commit d7c64dd2df
3 changed files with 105 additions and 30 deletions

View File

@@ -159,7 +159,7 @@ class TaskPanel:
if maxZ < bbox.ZMax:
maxZ = bbox.ZMax
bounds[0] = maxX - minX
bounds[1] = maxY - minY
bounds[1] = max(maxY - minY, abs(maxY), abs(minY))
bounds[2] = maxZ - minZ
# Set UI fields
self.form.length.setMaximum(bounds[0])