Increase material count limit to 1000.
The texture limit used to be 1000, but when materials with multiple textures were introduced in 3.2.0, the limit was reduced to 100. Since there are model out there that already have more than 100 and fewer than 1000 textures/materials, we should maintain backwards compat. Fixes #1877 PiperOrigin-RevId: 659901629 Change-Id: If0f6d0500d1d808bc3ec2d87d4a3faf24007da59
This commit is contained in:
committed by
Copybara-Service
parent
881b777ffd
commit
9db9df7380
@@ -22,8 +22,8 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
#define mjNAUX 10 // number of auxiliary buffers
|
||||
#define mjMAXTEXTURE 100 // maximum number of textures
|
||||
#define mjMAXMATERIAL 100 // maximum number of materials with textures
|
||||
#define mjMAXTEXTURE 1000 // maximum number of textures
|
||||
#define mjMAXMATERIAL 1000 // maximum number of materials with textures
|
||||
|
||||
//---------------------------------- primitive types (mjt) -----------------------------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user