DJ-Skaro / blender-smd

Automatically exported from code.google.com/p/blender-smd
0 stars 1 forks source link

.VTA writing error [SMD Export] #62

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Making (slaving) on a flexed model
2. Then dopesheet it
3. Then export (DMX or SMD)

What is the expected output? What do you see instead?
An error:
.....

What version of the product are you using? On what operating system?
1.6.2 and 1.6.3
....... line 2303, in writeShapes
   shape_vert = shape.data.vertices[vert]
IndexError: bpy_prop_collection[index]: index 299 out of range, size 296
location:<unknown location>:-1

Please provide any additional information below.
I've been trying to compile a face flexed item for some time but now this is 
impeding me. Please fix this I'd like to get the item out before Christmas. 
Thanks!

Original issue reported on code.google.com by Rowin...@gmail.com on 19 Dec 2012 at 3:14

Attachments:

GoogleCodeExporter commented 9 years ago
BTW formatting has appeared to have been screwed up, sorry. The lines under 
1.6.2 and 1.6.3 are supposed to be where those ellipsis are.

Original comment by Rowin...@gmail.com on 19 Dec 2012 at 3:17

GoogleCodeExporter commented 9 years ago
Are you using a Decimate modifier?

Original comment by cont...@steamreview.org on 20 Dec 2012 at 2:13

GoogleCodeExporter commented 9 years ago
No, but I am using a mirror modifier.

Original comment by Rowin...@gmail.com on 20 Dec 2012 at 2:30

GoogleCodeExporter commented 9 years ago
Can't repro anything with mirror. Can you upload your blend? This could be 
something to do with the dopesheet (which isn't needed for shape export BTW).

Original comment by cont...@steamreview.org on 20 Dec 2012 at 3:21

GoogleCodeExporter commented 9 years ago
Are you serious? Damn dopesheet, waste of my time. Also I deleted the dopesheet 
and mirror modifier but to no avail. I still get the same error but with a 
smaller index range.

Original comment by Rowin...@gmail.com on 20 Dec 2012 at 5:12

GoogleCodeExporter commented 9 years ago
Remove the angle threshold from the Edge Split modifier. Shapes change the 
angles at edges, therefore the number of splits that are made, therefore the 
number of resulting verts.

The underlying issue is that shapes are applied before modifiers. The Decimate 
modifier causes the same issues...I feel a Blender bug report coming on!

Original comment by cont...@steamreview.org on 20 Dec 2012 at 6:16

GoogleCodeExporter commented 9 years ago
WOW! thanks so much!

Original comment by Rowin...@gmail.com on 20 Dec 2012 at 6:32