[Bf-extensions-cvs] [fe7e5fd3] master: POV: Fix importer
Maurice Raybaud
noreply at git.blender.org
Mon Jan 31 00:20:11 CET 2022
Commit: fe7e5fd343005eba7b416889263695d27a01d2a4
Author: Maurice Raybaud
Date: Mon Jan 31 00:19:46 2022 +0100
Branches: master
https://developer.blender.org/rBAfe7e5fd343005eba7b416889263695d27a01d2a4
POV: Fix importer
fix useless enumeration providing index in place of string
===================================================================
M render_povray/scripting.py
===================================================================
diff --git a/render_povray/scripting.py b/render_povray/scripting.py
index 5f7a2b6e..77e266ef 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
More information about the Bf-extensions-cvs
mailing list