Merge pull request #669 from Schebb/master
Fixed issue in PlyParser (uint16 values misparsed)pull/670/head
commit
f489a7d076
|
@ -857,7 +857,7 @@ bool PLY::PropertyInstance::ParseValueBinary(
|
||||||
|
|
||||||
case EDT_UShort:
|
case EDT_UShort:
|
||||||
{
|
{
|
||||||
int16_t i = *((uint16_t*)pCur);
|
uint16_t i = *((uint16_t*)pCur);
|
||||||
|
|
||||||
// Swap endianess
|
// Swap endianess
|
||||||
if (p_bBE)ByteSwap::Swap(&i);
|
if (p_bBE)ByteSwap::Swap(&i);
|
||||||
|
|
Loading…
Reference in New Issue