Cleanup: doxy parameters, use static set instead of tuple
This commit is contained in:
parent
fb8e604ff4
commit
d52d71b834
|
@ -6136,7 +6136,7 @@ class VIEW3D_PT_shading_compositor(Panel):
|
|||
|
||||
@classmethod
|
||||
def poll(cls, context):
|
||||
return (context.space_data.shading.type in ('MATERIAL', 'RENDERED') and
|
||||
return (context.space_data.shading.type in {'MATERIAL', 'RENDERED'} and
|
||||
context.preferences.experimental.use_realtime_compositor)
|
||||
|
||||
def draw(self, context):
|
||||
|
|
|
@ -47,7 +47,7 @@ void key_curve_normal_weights(float t, float data[4], int type);
|
|||
/**
|
||||
* Returns key coordinates (+ tilt) when key applied, NULL otherwise.
|
||||
*
|
||||
* \param obdata if given, also update that geometry with the result of the shape keys evaluation.
|
||||
* \param obdata: if given, also update that geometry with the result of the shape keys evaluation.
|
||||
*/
|
||||
float *BKE_key_evaluate_object_ex(
|
||||
struct Object *ob, int *r_totelem, float *arr, size_t arr_size, struct ID *obdata);
|
||||
|
|
|
@ -444,18 +444,20 @@ struct ID *BKE_id_copy(struct Main *bmain, const struct ID *id);
|
|||
* Currently, it only handles the given ID, and their shape keys and actions if any, according to
|
||||
* the given `duplicate_flags`.
|
||||
*
|
||||
* \param duplicate_flags is of type #eDupli_ID_Flags, see #UserDef.dupflag. Currently only
|
||||
* \param duplicate_flags: is of type #eDupli_ID_Flags, see #UserDef.dupflag. Currently only
|
||||
* `USER_DUP_LINKED_ID` and `USER_DUP_ACT` have an effect here.
|
||||
* \param copy_flags flags passed to #BKE_id_copy_ex.
|
||||
* \param copy_flags: flags passed to #BKE_id_copy_ex.
|
||||
*/
|
||||
struct ID *BKE_id_copy_for_duplicate(struct Main *bmain,
|
||||
struct ID *id,
|
||||
uint duplicate_flags,
|
||||
int copy_flags);
|
||||
|
||||
/* Special version of BKE_id_copy which is safe from using evaluated id as source with a copy
|
||||
/**
|
||||
* Special version of #BKE_id_copy which is safe from using evaluated id as source with a copy
|
||||
* result appearing in the main database.
|
||||
* Takes care of the referenced data-blocks consistency. */
|
||||
* Takes care of the referenced data-blocks consistency.
|
||||
*/
|
||||
struct ID *BKE_id_copy_for_use_in_bmain(struct Main *bmain, const struct ID *id);
|
||||
|
||||
/**
|
||||
|
|
|
@ -66,7 +66,7 @@ void BKE_lib_override_library_free(struct IDOverrideLibrary **override, bool do_
|
|||
* \note This is especially useful when `id` is a non-real override (e.g. embedded ID like a master
|
||||
* collection or root node tree, or a shape key).
|
||||
*
|
||||
* \param r_owner_id If given, will be set with the actual ID owning the return liboverride data.
|
||||
* \param r_owner_id: If given, will be set with the actual ID owning the return liboverride data.
|
||||
*/
|
||||
IDOverrideLibrary *BKE_lib_override_library_get(struct Main *bmain,
|
||||
struct ID *id,
|
||||
|
|
Loading…
Reference in New Issue