3DSOLID: correction in index variable.

Signed-off-by: Bert Timmerman <bert.timmerman@xs4all.nl>