Skip to content

Commit

Permalink
v1.1
Browse files Browse the repository at this point in the history
fixed ai-line export for idx!=5 (not ai-line itself)
  • Loading branch information
leBluem committed Oct 27, 2020
1 parent cfeb0f1 commit ca0ee61
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Expand Up @@ -31,3 +31,5 @@
- v0.8 idk if this is needed at all, i think it does not really matter, at which order the list of border-vertices is, but i did it anyway; added reverse option for CSV export, added "shiftCount" option for CSV export, so you can change which index in list of vertices is taken first, added (VERRRY slow) option to check for double vertices on CSV import
- v0.9 fixed first time importing, fixed importing another ai-line after first time import, added optional import/export for the other 18 data points inside the ai-line, plain values along the normal ai-line, idk if its helpfull in any way, added some more output to blender system console
- v1.0 added multiplier for ai-line-details if enabled, for both import+export, to make it more visible/usefull
- v1.1 fixed ai-line export for idx!=5 and not ai line itself

2 changes: 1 addition & 1 deletion export_ai.py
Expand Up @@ -131,7 +131,7 @@ def save(context, filepath, shiftCount, lineIDX):
# print(str(L2))
if int(lineIDX) == 5:
L2[int(lineIDX)] = bm.vertices[runIndex].co[2] * 100.0
elif idx!=1:
elif int(lineIDX) != 1:
L2[int(lineIDX)] = bm.vertices[runIndex].co[2] / 100.0
else:
L2[int(lineIDX)] = bm.vertices[runIndex].co[2]
Expand Down

0 comments on commit ca0ee61

Please sign in to comment.