away3d/away3d-core-fp11 — Issue #145: MD2Parser parseMaterialNames truncates filename
Author: Jeanjean
Created: 2011-10-11 11:13:21+00:00
State: open

In parseMaterialNames function the filename is extracted from the full url, but is missing first letter. Fix: remove the +1 added to the slashIndex.

name = name.substring(slashIndex+1, extIndex);