Merge branch 'blender-v4.3-release'
This commit is contained in:
@@ -367,9 +367,8 @@ static PyObject *pygpu_framebuffer__tp_new(PyTypeObject * /*self*/, PyObject *ar
|
||||
if (PySequence_Check(color_attachements)) {
|
||||
color_attachements_len = PySequence_Size(color_attachements);
|
||||
if (color_attachements_len > BPYGPU_FB_MAX_COLOR_ATTACHMENT) {
|
||||
PyErr_SetString(
|
||||
PyExc_AttributeError,
|
||||
"too many attachements, max is " STRINGIFY(BPYGPU_FB_MAX_COLOR_ATTACHMENT));
|
||||
PyErr_SetString(PyExc_AttributeError,
|
||||
"too many attachments, max is " STRINGIFY(BPYGPU_FB_MAX_COLOR_ATTACHMENT));
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
|
||||
@@ -643,7 +643,7 @@ PyDoc_STRVAR(
|
||||
"\n"
|
||||
" :arg vertices: float triplets each representing ``(x, y, z)``\n"
|
||||
" :type vertices: float triplet sequence\n"
|
||||
" :arg polygons: Sequence of polyugons, each containing indices to the vertices argument.\n"
|
||||
" :arg polygons: Sequence of polygons, each containing indices to the vertices argument.\n"
|
||||
" :type polygons: Sequence of sequences containing ints\n"
|
||||
" :arg all_triangles: Use when all **polygons** are triangles for more efficient "
|
||||
"conversion.\n"
|
||||
|
||||
Reference in New Issue
Block a user