mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Don't error if calling ConvertToPyInPlace on bytes object
This commit is contained in:
@@ -420,7 +420,7 @@ struct TypeConversion<rdctype::array<byte>, false>
|
||||
const rdctype::array<byte> &in, int *failIdx)
|
||||
{
|
||||
// can't modify bytes objects
|
||||
return NULL;
|
||||
return SWIG_Py_Void();
|
||||
}
|
||||
|
||||
static PyObject *ConvertToPy(PyObject *self, const rdctype::array<byte> &in, int *failIdx)
|
||||
|
||||
Reference in New Issue
Block a user