Merged changes in the trunk up to revision 54110.
[blender.git] / source / blender / python / intern / bpy_app_build_options.c
index 6db0a52bdf0b7c499215f35cb745c25bcb1e5ba4..60105f73f37cca472ec27ffc8bdd4de4e9b081b7 100644 (file)
@@ -41,6 +41,7 @@ static PyStructSequence_Field app_builtopts_info_fields[] = {
        {(char *)"compositor", NULL},
        {(char *)"cycles", NULL},
        {(char *)"cycles_osl", NULL},
+       {(char *)"freestyle", NULL},
        {(char *)"gameengine", NULL},
        {(char *)"image_cineon", NULL},
        {(char *)"image_dds", NULL},
@@ -137,6 +138,12 @@ static PyObject *make_builtopts_info(void)
        SetObjIncref(Py_False);
 #endif
 
+#ifdef WITH_FREESTYLE
+       SetObjIncref(Py_True);
+#else
+       SetObjIncref(Py_False);
+#endif
+
 #ifdef WITH_GAMEENGINE
        SetObjIncref(Py_True);
 #else