Fluid UI:

* Display Simulation threads only, when built with OpenMP.
This commit is contained in:
2013-04-28 16:52:51 +00:00
parent 608dc78241
commit 674d82d783
3 changed files with 14 additions and 1 deletions

View File

@@ -66,6 +66,7 @@ static PyStructSequence_Field app_builtopts_info_fields[] = {
{(char *)"collada", NULL},
{(char *)"opencolorio", NULL},
{(char *)"player", NULL},
{(char *)"openmp", NULL},
{NULL}
};
@@ -288,6 +289,12 @@ static PyObject *make_builtopts_info(void)
SetObjIncref(Py_False);
#endif
#ifdef WITH_OPENMP
SetObjIncref(Py_True);
#else
SetObjIncref(Py_False);
#endif
#undef SetObjIncref
return builtopts_info;