Fix bug in material texrepeat attribute, fixes #2223.

Was mistakenly cast from float to int, bug introduced in 3.2.0

PiperOrigin-RevId: 697993181
Change-Id: I643a07e2b0866a4af56d7cbd3344e764a7caf56f
This commit is contained in:
Yuval Tassa
2024-11-19 06:29:49 -08:00
committed by Copybara-Service
parent 072039ac60
commit 5c23ae11ef
6 changed files with 26 additions and 24 deletions
+1 -1
View File
@@ -5681,7 +5681,7 @@ public unsafe struct mjrContext_ {
public fixed uint auxColor_r[10];
public fixed int mat_texid[10000];
public fixed int mat_texuniform[1000];
public fixed int mat_texrepeat[2000];
public fixed float mat_texrepeat[2000];
public int ntexture;
public fixed int textureType[1000];
public fixed uint texture[1000];