Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2009-08-07 02:24:14 +0400
committerCampbell Barton <ideasman42@gmail.com>2009-08-07 02:24:14 +0400
commita791cfc5d3103eab975220144356048b8e1a0149 (patch)
tree56011a45bf7360012486b129a59bc38d15916f58 /release/scripts
parent85d75077a6f21e175689ae0317d5847e321a43c4 (diff)
[#19206] Fix MD2 Vertex Normal Export
from Calvin Loncaric (marvinx03) [#18965] Blender Load and Run need fully qualified specs [#18966] getMaterials not used from Roger Wickes (roger)
Diffstat (limited to 'release/scripts')
-rw-r--r--release/scripts/md2_export.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/release/scripts/md2_export.py b/release/scripts/md2_export.py
index cf5752597da..f0fe6b9af40 100644
--- a/release/scripts/md2_export.py
+++ b/release/scripts/md2_export.py
@@ -923,7 +923,8 @@ def fill_md2(md2, object):
maxdot = dot;
maxdotindex = j;
- md2.frames[frame_counter].vertices[vert_counter].lightnormalindex=maxdotindex+2
+ # See patch [#19206], gives good info on this line below.
+ md2.frames[frame_counter].vertices[vert_counter].lightnormalindex=maxdotindex
del maxdot, maxdotindex
del new_x, new_y, new_z