You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-12 13:20:55 +00:00
Scale error in mesh optimizer so it uses absolute scale.
Switch to simplify sloppy for another try. Update to meshoptimizer e3f53f66e7a35b9b8764bee478589d79e34fa698.
This commit is contained in:
2
thirdparty/meshoptimizer/indexcodec.cpp
vendored
2
thirdparty/meshoptimizer/indexcodec.cpp
vendored
@@ -108,7 +108,7 @@ static unsigned int decodeVByte(const unsigned char*& data)
|
||||
for (int i = 0; i < 4; ++i)
|
||||
{
|
||||
unsigned char group = *data++;
|
||||
result |= (group & 127) << shift;
|
||||
result |= unsigned(group & 127) << shift;
|
||||
shift += 7;
|
||||
|
||||
if (group < 128)
|
||||
|
||||
Reference in New Issue
Block a user