formatting edits. (no functional changes)
This commit is contained in:
@@ -4910,7 +4910,7 @@ PyObject *pyrna_struct_CreatePyObject( PointerRNA *ptr )
|
||||
}
|
||||
}
|
||||
|
||||
if( !pyrna ) {
|
||||
if(pyrna == NULL) {
|
||||
PyErr_SetString(PyExc_MemoryError, "couldn't create bpy_struct object");
|
||||
return NULL;
|
||||
}
|
||||
@@ -4961,7 +4961,7 @@ PyObject *pyrna_prop_CreatePyObject( PointerRNA *ptr, PropertyRNA *prop )
|
||||
#endif
|
||||
}
|
||||
|
||||
if( !pyrna ) {
|
||||
if(pyrna == NULL) {
|
||||
PyErr_SetString(PyExc_MemoryError, "couldn't create BPy_rna object");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user