Fix bool <-> BOOL I stumbled over

meow-7.2.2
Ansariel 2018-02-02 11:40:48 +01:00
parent e4bbb99184
commit 69d4079e07
1 changed files with 5 additions and 4 deletions

View File

@ -10938,19 +10938,19 @@ void toggleTeleportHistory()
// </FS:Ansariel> Toggle teleport history panel directly
// <FS:Techwolf Lupindo> export
BOOL enable_export_object()
bool enable_export_object()
{
// <FS:CR>
for (LLObjectSelection::root_iterator iter = LLSelectMgr::getInstance()->getSelection()->root_begin();
iter != LLSelectMgr::getInstance()->getSelection()->root_end(); iter++)
{
LLSelectNode* node = *iter;
LLViewerObject* obj = node->getObject();
if (obj || node)
{
return gSavedSettings.getBOOL("FSEnableObjectExports");
}
}
return false;
// </FS:CR>
return false;
}
class FSObjectExport : public view_listener_t
@ -10966,6 +10966,7 @@ class FSObjectExport : public view_listener_t
}
};
// </FS:Techwolf Lupindo>
// <FS:CR>
class FSObjectExportCollada : public view_listener_t
{