Cleanup: style, duplicate includes
This commit is contained in:
@@ -18,8 +18,8 @@
|
||||
* ***** END GPL LICENSE BLOCK *****
|
||||
*/
|
||||
|
||||
#ifndef __GWN_PY_API__
|
||||
#define __GWN_PY_API__
|
||||
#ifndef __GWN_PY_API_H__
|
||||
#define __GWN_PY_API_H__
|
||||
|
||||
/** \file blender/python/gawain/gwn_py_api.h
|
||||
* \ingroup pygawain
|
||||
@@ -27,4 +27,4 @@
|
||||
|
||||
PyObject *BPyInit_gawain(void);
|
||||
|
||||
#endif /* __GWN_PY_API__ */
|
||||
#endif /* __GWN_PY_API_H__ */
|
||||
|
@@ -647,7 +647,7 @@ static PyObject *bpygwn_VertBatch_uniform_f32(BPyGwn_Batch *self, PyObject *args
|
||||
return NULL;
|
||||
}
|
||||
|
||||
switch(PyTuple_GET_SIZE(args)) {
|
||||
switch (PyTuple_GET_SIZE(args)) {
|
||||
case 2: GWN_batch_uniform_1f(self->batch, params.id, params.values[0]); break;
|
||||
case 3: GWN_batch_uniform_2fv(self->batch, params.id, params.values); break;
|
||||
case 4: GWN_batch_uniform_3fv(self->batch, params.id, params.values); break;
|
||||
|
Reference in New Issue
Block a user