Fix: Cycles silently ignores unknown --cycles--device type
Pull Request: https://projects.blender.org/blender/blender/pulls/134354
This commit is contained in:
committed by
Brecht Van Lommel
parent
9ad19396f5
commit
529ce46744
@@ -981,7 +981,7 @@ static PyObject *set_device_override_func(PyObject * /*self*/, PyObject *arg)
|
||||
BlenderSession::device_override = DEVICE_MASK_ONEAPI;
|
||||
}
|
||||
else {
|
||||
printf("\nError: %s is not a valid Cycles device.\n", override.c_str());
|
||||
fprintf(stderr, "\nError: %s is not a valid Cycles device.\n", override.c_str());
|
||||
Py_RETURN_FALSE;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user