From 681be5b49c3799448fddef1a13b9bd74497670fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABl=20=C3=89corchard?= Date: Wed, 25 Jun 2025 07:40:09 +0200 Subject: [PATCH] BIM: satisfy github-advanced-security MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Gaël Écorchard --- src/Mod/BIM/importers/importDAE.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Mod/BIM/importers/importDAE.py b/src/Mod/BIM/importers/importDAE.py index 07a16b70ad..8d787d2ed5 100644 --- a/src/Mod/BIM/importers/importDAE.py +++ b/src/Mod/BIM/importers/importDAE.py @@ -54,6 +54,7 @@ else: return text # \endcond + def xml_escape(text: str, entities: dict[str, str] = None) -> str: """Escape text for XML. @@ -197,6 +198,7 @@ def read(filename): # be within [0, 1]. OK. setattr(fc_mat, fc_field, getattr(material_node.effect, col_field)) except ValueError: + # The collada value is not compatible with FreeCAD. pass except TypeError: # color is not a tuple but a texture.