From c0e8b1c505be511c14f721df7cbd897a23bb4d5e Mon Sep 17 00:00:00 2001 From: james <81617086+je-cook@users.noreply.github.com> Date: Wed, 22 Jan 2025 17:04:23 +0000 Subject: [PATCH] upgrade threejs and encoding fix --- src/Mod/BIM/importers/importWebGL.py | 41 ++++++++++++++++++---------- 1 file changed, 26 insertions(+), 15 deletions(-) diff --git a/src/Mod/BIM/importers/importWebGL.py b/src/Mod/BIM/importers/importWebGL.py index b1ce15cd45..0fe80752b0 100644 --- a/src/Mod/BIM/importers/importWebGL.py +++ b/src/Mod/BIM/importers/importWebGL.py @@ -70,6 +70,7 @@ import numpy as np disableCompression = False # Compress object data before sending to JS base = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890!#$%&()*+-:;/=>?@[]^_,.{|}~`" # safe str chars for js in all cases baseFloat = ",.-0123456789" +threejs_version = "0.172.0" def getHTMLTemplate(): @@ -110,23 +111,31 @@ def getHTMLTemplate(): select { width: 170px; } +