mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2025-01-18 12:10:06 +00:00
Fixed recent regression in Far::PatchParam
Fixed an incorrect type cast in Far::PatchParam which could result in truncated FaceId values.
This commit is contained in:
parent
f36e63a806
commit
675db39cd1
@ -227,7 +227,7 @@ private:
|
||||
}
|
||||
|
||||
unsigned int unpack(unsigned int value, int width, int offset) const {
|
||||
return (unsigned short)((value >> offset) & ((1<<width)-1));
|
||||
return (unsigned int)((value >> offset) & ((1<<width)-1));
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user