Cleanup: code comments punctuation / spacing
This commit is contained in:
@@ -339,7 +339,7 @@ static PyObject *pyop_call(PyObject *UNUSED(self), PyObject *args)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/* When calling bpy.ops.wm.read_factory_settings() bpy.data's main pointer
|
||||
/* When calling `bpy.ops.wm.read_factory_settings()` `bpy.data's` main pointer
|
||||
* is freed by clear_globals(), further access will crash blender.
|
||||
* Setting context is not needed in this case, only calling because this
|
||||
* function corrects bpy.data (internal Main pointer) */
|
||||
|
||||
@@ -605,7 +605,7 @@ PyObject *pyrna_struct_driver_add(BPy_StructRNA *self, PyObject *args)
|
||||
DEG_relations_tag_update(CTX_data_main(context));
|
||||
}
|
||||
else {
|
||||
/* XXX, should be handled by reports, */
|
||||
/* XXX: should be handled by reports. */
|
||||
PyErr_SetString(PyExc_TypeError,
|
||||
"bpy_struct.driver_add(): failed because of an internal error");
|
||||
return NULL;
|
||||
|
||||
Reference in New Issue
Block a user