From fe7e5fd343005eba7b416889263695d27a01d2a4 Mon Sep 17 00:00:00 2001
From: Maurice Raybaud <mauriceraybaud@hotmail.fr>
Date: Mon, 31 Jan 2022 00:19:46 +0100
Subject: [PATCH] POV: Fix importer

fix useless enumeration providing index in place of string
---
 render_povray/scripting.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/render_povray/scripting.py b/render_povray/scripting.py
index 5f7a2b6eb..77e266ef0 100755
--- a/render_povray/scripting.py
+++ b/render_povray/scripting.py
@@ -194,7 +194,7 @@ class ImportPOV(bpy.types.Operator, ImportHelper):
                 S = S.replace(";", " ; ")
                 S = S.split()
                 # lenS = len(S) # Not used... why written?
-                for word in enumerate(S):
+                for word in S:
                     # -------- Primitives Import -------- #
                     if word == 'cone':
                         cone_search = True
-- 
GitLab