Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with MD2Parser #30

Open
tsmithf opened this issue Mar 6, 2019 · 4 comments
Open

Problem with MD2Parser #30

tsmithf opened this issue Mar 6, 2019 · 4 comments

Comments

@tsmithf
Copy link

tsmithf commented Mar 6, 2019

Encountering an issue trying to compile with Away3D 5.0.8, in Openfl 8.8.0, Lime 7.2.1 when import away3d.loaders.parsers.Parsers; is called

C:\HaxeToolkit\haxe\lib\away3d\5,0,8\away3d\loaders\parsers\MD2Parser.hx:415: chars 4-24 : Error: This kind of operation is not supported

This refers to the line _byteData.position++;

If I comment our the reference to MD2Parser.hx it compiles OK

@jgranick
Copy link
Member

jgranick commented Mar 6, 2019

Does it work if you replace the line with _byteData.position = _byteData.position + 1?

@tsmithf
Copy link
Author

tsmithf commented Mar 7, 2019

Yep, seems to be working now, thanks.

@jgranick
Copy link
Member

jgranick commented Mar 7, 2019

What version of Haxe are you using?

EDIT: Oh, it looks like the version online is already patched?

https://github.com/openfl/away3d/blob/master/away3d/loaders/parsers/MD2Parser.hx#L415

...it looks like this should be in Away3D 5.0.8, so I'm a little confused

@tsmithf
Copy link
Author

tsmithf commented Mar 8, 2019

Haxe 3.4.7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants