]> git.mxchange.org Git - flightgear.git/commitdiff
... and do no longer assume that the separator is only one character ;-)
authormfranz <mfranz>
Wed, 5 Mar 2008 18:21:45 +0000 (18:21 +0000)
committermfranz <mfranz>
Wed, 5 Mar 2008 18:21:45 +0000 (18:21 +0000)
utils/Modeller/uv_import_svg.py

index 7a1d9cbcc2988ed5fbe763f6f1dc9e5935c22275..e934be5eeeb227e90b0e446dbc006d51a0ae44f8 100755 (executable)
@@ -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)