style cleanup: tabs & whitespace
This commit is contained in:
@@ -1430,15 +1430,15 @@ void IDProp_Init_Types(void)
|
||||
/* --- */
|
||||
|
||||
static struct PyModuleDef IDProp_types_module_def = {
|
||||
PyModuleDef_HEAD_INIT,
|
||||
"idprop.types", /* m_name */
|
||||
NULL, /* m_doc */
|
||||
0, /* m_size */
|
||||
NULL, /* m_methods */
|
||||
NULL, /* m_reload */
|
||||
NULL, /* m_traverse */
|
||||
NULL, /* m_clear */
|
||||
NULL, /* m_free */
|
||||
PyModuleDef_HEAD_INIT,
|
||||
"idprop.types", /* m_name */
|
||||
NULL, /* m_doc */
|
||||
0, /* m_size */
|
||||
NULL, /* m_methods */
|
||||
NULL, /* m_reload */
|
||||
NULL, /* m_traverse */
|
||||
NULL, /* m_clear */
|
||||
NULL, /* m_free */
|
||||
};
|
||||
|
||||
static PyObject *BPyInit_idprop_types(void)
|
||||
|
@@ -6951,7 +6951,7 @@ static int bpy_class_call(bContext *C, PointerRNA *ptr, FunctionRNA *func, Param
|
||||
|
||||
#ifdef USE_PEDANTIC_WRITE
|
||||
const int is_operator = RNA_struct_is_a(ptr->type, &RNA_Operator);
|
||||
const char *func_id = RNA_function_identifier(func);
|
||||
// const char *func_id = RNA_function_identifier(func); /* UNUSED */
|
||||
/* testing, for correctness, not operator and not draw function */
|
||||
const short is_readonly = !(RNA_function_flag(func) & FUNC_ALLOW_WRITE);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user