diff options
Diffstat (limited to 'source/blender/makesdna/DNA_world_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_world_types.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_world_types.h b/source/blender/makesdna/DNA_world_types.h index 30cb6071d78..8404beaf733 100644 --- a/source/blender/makesdna/DNA_world_types.h +++ b/source/blender/makesdna/DNA_world_types.h @@ -40,6 +40,10 @@ struct Ipo; struct MTex; +#ifndef MAX_MTEX +#define MAX_MTEX 10 +#endif + /** * World defines general modelling data such as a background fill, @@ -101,7 +105,7 @@ typedef struct World { int physicsEngine; struct Ipo *ipo; - struct MTex *mtex[8]; + struct MTex *mtex[10]; ScriptLink scriptlink; |