Merge sculpt-dev -> master
This commit is contained in:
@@ -530,6 +530,7 @@ static PyObject *pygpu_framebuffer_read_color(BPyGPUFrameBuffer *self,
|
||||
PyErr_SetString(PyExc_BufferError, "the buffer size is smaller than expected");
|
||||
return NULL;
|
||||
}
|
||||
Py_INCREF(py_buffer);
|
||||
}
|
||||
else {
|
||||
py_buffer = BPyGPU_Buffer_CreatePyObject(
|
||||
@@ -590,6 +591,7 @@ static PyObject *pygpu_framebuffer_read_depth(BPyGPUFrameBuffer *self,
|
||||
PyErr_SetString(PyExc_BufferError, "the buffer size is smaller than expected");
|
||||
return NULL;
|
||||
}
|
||||
Py_INCREF(py_buffer);
|
||||
}
|
||||
else {
|
||||
py_buffer = BPyGPU_Buffer_CreatePyObject(GPU_DATA_FLOAT, (Py_ssize_t[]){h, w}, 2, NULL);
|
||||
|
||||
@@ -2609,7 +2609,9 @@ static int bpy_prop_arg_parse_tag_defines(PyObject *o, void *p)
|
||||
" :type step: int\n"
|
||||
|
||||
#define BPY_PROPDEF_FLOAT_PREC_DOC \
|
||||
" :arg precision: Maximum number of decimal digits to display, in [0, 6].\n" \
|
||||
" :arg precision: Maximum number of decimal digits to display, in [0, 6]. Fraction is " \
|
||||
"automatically hidden for exact integer values of fields with unit 'NONE' or 'TIME' (frame " \
|
||||
"count) and step divisible by 100.\n" \
|
||||
" :type precision: int\n"
|
||||
|
||||
#define BPY_PROPDEF_UPDATE_DOC \
|
||||
|
||||
Reference in New Issue
Block a user