Compositor: Rename compositor build option
Currently, the compositor can be disabled using the WITH_COMPOSITOR build option. Since, we intent to always build the realtime compositor, we need to make the distinction between both compositors clear. So this patch renames the option to WITH_COMPOSITOR_CPU. Additionally, the check for the option was moved inside the compositor modules' own CMake file in preparation for the realtime compositor code. Differential Revision: https://developer.blender.org/D15622 Reviewed By: Jeroen Bakker, Ray Molenkamp
This commit is contained in:
@@ -18,7 +18,7 @@ static PyStructSequence_Field app_builtopts_info_fields[] = {
|
||||
{"codec_avi", NULL},
|
||||
{"codec_ffmpeg", NULL},
|
||||
{"codec_sndfile", NULL},
|
||||
{"compositor", NULL},
|
||||
{"compositor_cpu", NULL},
|
||||
{"cycles", NULL},
|
||||
{"cycles_osl", NULL},
|
||||
{"freestyle", NULL},
|
||||
@@ -104,7 +104,7 @@ static PyObject *make_builtopts_info(void)
|
||||
SetObjIncref(Py_False);
|
||||
#endif
|
||||
|
||||
#ifdef WITH_COMPOSITOR
|
||||
#ifdef WITH_COMPOSITOR_CPU
|
||||
SetObjIncref(Py_True);
|
||||
#else
|
||||
SetObjIncref(Py_False);
|
||||
|
||||
Reference in New Issue
Block a user