From 615d5ef4d8244e7ab3da8908d84f46593157d4c6 Mon Sep 17 00:00:00 2001 From: mfranz Date: Wed, 5 Mar 2008 18:21:45 +0000 Subject: [PATCH] ... and do no longer assume that the separator is only one character ;-) --- utils/Modeller/uv_import_svg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/Modeller/uv_import_svg.py b/utils/Modeller/uv_import_svg.py index 7a1d9cbcc..e934be5ee 100755 --- a/utils/Modeller/uv_import_svg.py +++ b/utils/Modeller/uv_import_svg.py @@ -237,7 +237,7 @@ class import_svg: return meshname = str(ident[:sep]) - num = int(ident[sep + 1:]) + num = int(ident[sep + len(ID_SEPARATOR):]) if not meshname in self.meshes: print('unknown mesh "%s"' % meshname)