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
+2 -2
View File
@@ -8596,12 +8596,12 @@ STRUCTS: Mapping[str, StructDecl] = dict([
inner_type=ValueType(name='int'),
extents=(1000,),
),
doc='texture repetition for 2d mapping',
doc='uniform cube mapping',
),
StructFieldDecl(
name='mat_texrepeat',
type=ArrayType(
inner_type=ValueType(name='int'),
inner_type=ValueType(name='float'),
extents=(2000,),
),
doc='texture repetition for 2d mapping',