Cleanup: header wrapping, spelling, use doxy sections
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
/* SPDX-FileCopyrightText: 2009-2010 Sony Pictures Imageworks Inc., et al. All Rights Reserved
|
||||
* (BSD-3-Clause). SPDX-FileCopyrightText: 2011 Blender Foundation (GPL-2.0-or-later).
|
||||
/* SPDX-FileCopyrightText: 2009-2010 Sony Pictures Imageworks Inc., et al.
|
||||
* All Rights Reserved (BSD-3-Clause).
|
||||
* SPDX-FileCopyrightText: 2011 Blender Foundation (GPL-2.0-or-later).
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-2.0-or-later AND BSD-3-Clause */
|
||||
|
||||
|
||||
@@ -52,7 +52,9 @@ static void view3d_copybuffer_filepath_get(char filepath[FILE_MAX], size_t filep
|
||||
|
||||
/** \} */
|
||||
|
||||
/* ************************** copy paste ***************************** */
|
||||
/* -------------------------------------------------------------------- */
|
||||
/** \name Viewport Copy Operator
|
||||
* \{ */
|
||||
|
||||
static int view3d_copybuffer_exec(bContext *C, wmOperator *op)
|
||||
{
|
||||
@@ -91,6 +93,12 @@ static void VIEW3D_OT_copybuffer(wmOperatorType *ot)
|
||||
ot->poll = ED_operator_scene;
|
||||
}
|
||||
|
||||
/** \} */
|
||||
|
||||
/* -------------------------------------------------------------------- */
|
||||
/** \name Viewport Paste Operator
|
||||
* \{ */
|
||||
|
||||
static int view3d_pastebuffer_exec(bContext *C, wmOperator *op)
|
||||
{
|
||||
char filepath[FILE_MAX];
|
||||
@@ -142,7 +150,11 @@ static void VIEW3D_OT_pastebuffer(wmOperatorType *ot)
|
||||
"Put pasted objects in the active collection");
|
||||
}
|
||||
|
||||
/* ************************** registration **********************************/
|
||||
/** \} */
|
||||
|
||||
/* -------------------------------------------------------------------- */
|
||||
/** \name Registration
|
||||
* \{ */
|
||||
|
||||
void view3d_operatortypes(void)
|
||||
{
|
||||
@@ -234,3 +246,5 @@ void view3d_keymap(wmKeyConfig *keyconf)
|
||||
viewdolly_modal_keymap(keyconf);
|
||||
viewplace_modal_keymap(keyconf);
|
||||
}
|
||||
|
||||
/** \} */
|
||||
|
||||
@@ -140,7 +140,7 @@ static void remove_materials(Material ***materials, short *materials_num)
|
||||
}
|
||||
|
||||
/**
|
||||
* Removess parts of the geometry that can't be stored in the simulation state:
|
||||
* Removes parts of the geometry that can't be stored in the simulation state:
|
||||
* - Anonymous attributes can't be stored because it is not known which of them will or will not be
|
||||
* used in the future.
|
||||
* - Materials can't be stored directly, because they are linked ID data blocks that can't be
|
||||
|
||||
Reference in New Issue
Block a user