Skip to content

Commit c44ae62

Browse files
committed
restore MAXSTUDIOBONES value
1 parent 4f4e742 commit c44ae62

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

public/studio.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,14 +79,14 @@ Studio models are position independent, so the cache manager can move them.
7979
#define MAXSTUDIOFLEXVERTS 5000
8080
#endif
8181
#define MAXSTUDIOSKINS 32 // total textures
82-
#define MAXSTUDIOBONES 256 // total bones actually used
82+
#define MAXSTUDIOBONES 128 // total bones actually used
8383
#define MAXSTUDIOFLEXDESC 1024 // maximum number of low level flexes (actual morph targets)
8484
#define MAXSTUDIOFLEXCTRL 96 // maximum number of flexcontrollers (input sliders)
8585
#define MAXSTUDIOPOSEPARAM 24
8686
#define MAXSTUDIOBONECTRLS 5
8787
#define MAXSTUDIOANIMBLOCKS 256
8888

89-
#define MAXSTUDIOBONEBITS 8 // NOTE: MUST MATCH MAXSTUDIOBONES
89+
#define MAXSTUDIOBONEBITS 7 // NOTE: MUST MATCH MAXSTUDIOBONES
9090

9191
// NOTE!!! : Changing this number also changes the vtx file format!!!!!
9292
#define MAX_NUM_BONES_PER_VERT 3

0 commit comments

Comments
 (0)