Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file removed 001_2018_dog
Binary file not shown.
2 changes: 1 addition & 1 deletion UnityPy/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "1.8.9"
__version__ = "1.8.10"

from .environment import Environment

Expand Down
4 changes: 2 additions & 2 deletions UnityPyBoost/Mesh.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ PyObject *unpack_vertexdata(PyObject *self, PyObject *args)
// define vars
int componentByteSize;
uint32_t m_VertexCount;
char swap;
uint8_t swap;
// char format;
uint8_t *vertexData; // m_VertexData.m_DataSize
uint32_t m_StreamOffset;
Expand Down Expand Up @@ -68,7 +68,7 @@ PyObject *unpack_vertexdata(PyObject *self, PyObject *args)
uint16_t *componentUints = (uint16_t *)componentBytes;
for (uint32_t i = 0; i < componentBytesLength; i += 2)
{
*componentUints = bswap16(*componentUints);
*componentUints++ = bswap16(*componentUints);
}
}
else if (componentByteSize == 4)
Expand Down
4 changes: 2 additions & 2 deletions UnityPyBoost/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
name="UnityPyBoost",
description="TODO",
author="K0lb3",
version="0.0.2",
version="0.0.3",
ext_modules=[
Extension(
"UnityPyBoost",
Expand All @@ -20,4 +20,4 @@
include_dirs=[local],
)
],
)
)