Cleanup: spelling, C style comments
This commit is contained in:
@@ -1279,7 +1279,7 @@ static void add_shapekey_layers(Mesh *mesh_dest, Mesh *mesh_src)
|
||||
|
||||
/**
|
||||
* \param use_virtual_modifiers: When enabled calculate virtual-modifiers before applying `md_eval`
|
||||
* support this since virtual-modieirs are not modifiers from auser perspective,
|
||||
* support this since virtual-modifiers are not modifiers from a user perspective,
|
||||
* allowing shape keys to be included with the modifier being applied, see: T91923.
|
||||
*/
|
||||
Mesh *BKE_mesh_create_derived_for_modifier(struct Depsgraph *depsgraph,
|
||||
|
||||
@@ -908,9 +908,9 @@ static int armature_parent_set_invoke(bContext *C,
|
||||
wmOperator *UNUSED(op),
|
||||
const wmEvent *UNUSED(event))
|
||||
{
|
||||
// False when all selected bones are parented to the active bone.
|
||||
/* False when all selected bones are parented to the active bone. */
|
||||
bool enable_offset = false;
|
||||
// False when all selected bones are connected to the active bone.
|
||||
/* False when all selected bones are connected to the active bone. */
|
||||
bool enable_connect = false;
|
||||
{
|
||||
Object *ob = CTX_data_edit_object(C);
|
||||
@@ -1033,9 +1033,9 @@ static int armature_parent_clear_invoke(bContext *C,
|
||||
wmOperator *UNUSED(op),
|
||||
const wmEvent *UNUSED(event))
|
||||
{
|
||||
// False when no selected bones are connected to the active bone.
|
||||
/* False when no selected bones are connected to the active bone. */
|
||||
bool enable_disconnect = false;
|
||||
// False when no selected bones are parented to the active bone.
|
||||
/* False when no selected bones are parented to the active bone. */
|
||||
bool enable_clear = false;
|
||||
{
|
||||
Object *ob = CTX_data_edit_object(C);
|
||||
|
||||
@@ -1484,7 +1484,7 @@ PreviewImage *UI_icon_to_preview(int icon_id)
|
||||
|
||||
/**
|
||||
* Version of #icon_draw_rect() that uses the GPU for scaling. This is only used for
|
||||
* #ICON_TYPE_IMBUF because it's a backported fix for performance issues, see T92922. Only
|
||||
* #ICON_TYPE_IMBUF because it's a back-ported fix for performance issues, see T92922. Only
|
||||
* File/Asset Browser use #ICON_TYPE_IMBUF right now, which makes implications more predictable.
|
||||
*
|
||||
* TODO(Julian): This code is mostly duplicated. #icon_draw_rect() should be ported to use the GPU
|
||||
|
||||
Reference in New Issue
Block a user