Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/python/intern/bpy_app_build_options.c')
-rw-r--r--source/blender/python/intern/bpy_app_build_options.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/source/blender/python/intern/bpy_app_build_options.c b/source/blender/python/intern/bpy_app_build_options.c
index cc97f6dec94..aaceb7b393f 100644
--- a/source/blender/python/intern/bpy_app_build_options.c
+++ b/source/blender/python/intern/bpy_app_build_options.c
@@ -61,6 +61,7 @@ static PyStructSequence_Field app_builtopts_info_fields[] = {
{"usd", NULL},
{"fluid", NULL},
{"xr_openxr", NULL},
+ {"potrace", NULL},
{NULL},
};
@@ -282,6 +283,12 @@ static PyObject *make_builtopts_info(void)
SetObjIncref(Py_False);
#endif
+#ifdef WITH_POTRACE
+ SetObjIncref(Py_True);
+#else
+ SetObjIncref(Py_False);
+#endif
+
#undef SetObjIncref
return builtopts_info;
@@ -299,7 +306,7 @@ PyObject *BPY_app_build_options_struct(void)
BlenderAppBuildOptionsType.tp_init = NULL;
BlenderAppBuildOptionsType.tp_new = NULL;
BlenderAppBuildOptionsType.tp_hash = (hashfunc)
- _Py_HashPointer; /* without this we can't do set(sys.modules) [#29635] */
+ _Py_HashPointer; /* without this we can't do set(sys.modules) T29635. */
return ret;
}