From 31193039e2f59c0445561562f95efaee17d76900 Mon Sep 17 00:00:00 2001 From: "luz.paz" Date: Sun, 26 Aug 2018 14:04:56 +0200 Subject: [PATCH] FEM: femtools/femutils.py typos and whitespace fixes --- src/Mod/Fem/femtools/femutils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Fem/femtools/femutils.py b/src/Mod/Fem/femtools/femutils.py index 6e2cfc89cb..6cb9594b50 100644 --- a/src/Mod/Fem/femtools/femutils.py +++ b/src/Mod/Fem/femtools/femutils.py @@ -106,7 +106,7 @@ def isDerivedFrom(obj, t): def getBoundBoxOfAllDocumentShapes(doc): overalboundbox = None for o in doc.Objects: - if hasattr(o, 'Shape') and hasattr(o.Shape, 'BoundBox'): # netgen mesh obj has an attribut Shape which is a Document obj, which has no BB + if hasattr(o, 'Shape') and hasattr(o.Shape, 'BoundBox'): # netgen mesh obj has an attribute Shape which is a Document obj, which has no BB try: bb = o.Shape.BoundBox except: