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:
committed by
Copybara-Service
parent
072039ac60
commit
5c23ae11ef
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user