Skip to content
This repository has been archived by the owner on Jun 8, 2022. It is now read-only.

GSOC WME3D: Binary .X lexer #1662

Merged
merged 5 commits into from Aug 10, 2020
Merged

Conversation

GunnarBirke
Copy link
Contributor

No description provided.

uint vertexNormalCount = readInt(lexer);
assert(vertexNormalCount == _vertexCount);
uint vertexNormalCount = lexer.readInt();
// assert(vertexNormalCount == _vertexCount);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why assert is disabled?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The demo of "On the track of dinosaurs" has a model with fewer normals than vertices. So this condition is actually not guaranteed to be true.

@aquadran aquadran merged commit 1bfd1fa into residualvm:master Aug 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants