Release Builds Have Asserts Turned Off
The 3ds Max SDK now ships with asserts turned off. This means that users will not see assert dialogs popping up.
With asserts
turned off, the following code fails:
assert(p = new CmyClass);
p->stuff();
There are two solutions:
- remove the
asserts
- fix the code to remove dependency on their existence since it is possible that plug-ins can be compiled with or without
asserts
enabled.
We recommend that developers always use 3ds Max SDK DbgAssert
instead of Max's assert
.