Backward compatibility fix to get this to compile on Max versions 9 and below, which don't define the _M macro.

This commit is contained in:
rdb 2010-08-24 13:48:43 +00:00
parent 50150dc9f9
commit 6cb48a06bc
1 changed files with 6 additions and 1 deletions

View File

@ -15,6 +15,11 @@
#include "maxEgg.h"
// 3dsmax versions below 9 don't define this.
#ifndef _M
#define _M(s) (s)
#endif
////////////////////////////////////////////////////////////////////
// Function: MaxNodeTree::Constructor
// Access: Public
@ -486,4 +491,4 @@ void MaxNodeTree::set_collision_tags(MaxNodeDesc *node_desc, EggGroup *egg_group
}
}
return;
}
}