-
Notifications
You must be signed in to change notification settings - Fork 177
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
UPBGE: Fix KX_Mesh.transformUV with invalid UV layer.
This function can copy an uv layer to an other, but no check was proceeded for the source layer and created invalid memory access. To solve this issue and simplify the error checking for uv layers, the function uvExist is created as adviced by youle. This function check if the layer passed is between 0 and format.uvSize. Fix issue: #955.
- Loading branch information
1 parent
7d33328
commit 732ba41
Showing
1 changed file
with
14 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters