mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-10 01:09:50 +00:00
Flag max plugins as windowed
--HG-- branch : develop
This commit is contained in:
parent
3c120cd398
commit
5a297ddbe4
2 changed files with 2 additions and 0 deletions
|
@ -68,6 +68,7 @@ NEL_3DSMAX_SHARED_API NLMISC::INelContext &GetSharedNelContext()
|
||||||
{
|
{
|
||||||
new NLMISC::CApplicationContext();
|
new NLMISC::CApplicationContext();
|
||||||
NLMISC::createDebug();
|
NLMISC::createDebug();
|
||||||
|
NLMISC::INelContext::getInstance().setWindowedApplication(true);
|
||||||
}
|
}
|
||||||
return NLMISC::INelContext::getInstance();
|
return NLMISC::INelContext::getInstance();
|
||||||
}
|
}
|
||||||
|
|
|
@ -957,6 +957,7 @@ protected:
|
||||||
Value* force_quit_on_msg_displayer_cf(Value** arg_list, int count)
|
Value* force_quit_on_msg_displayer_cf(Value** arg_list, int count)
|
||||||
{
|
{
|
||||||
nlwarning("Enable force quit on NeL report msg displayer");
|
nlwarning("Enable force quit on NeL report msg displayer");
|
||||||
|
NLMISC::INelContext::getInstance().setWindowedApplication(false);
|
||||||
// disable the Windows popup telling that the application aborted and disable the dr watson report.
|
// disable the Windows popup telling that the application aborted and disable the dr watson report.
|
||||||
_set_abort_behavior(0, _WRITE_ABORT_MSG | _CALL_REPORTFAULT);
|
_set_abort_behavior(0, _WRITE_ABORT_MSG | _CALL_REPORTFAULT);
|
||||||
putenv("NEL_IGNORE_ASSERT=1");
|
putenv("NEL_IGNORE_ASSERT=1");
|
||||||
|
|
Loading…
Reference in a new issue