Cleanup: correct filenames in comments
This commit is contained in:
@@ -1653,7 +1653,7 @@ void id_sort_by_name(ListBase *lb, ID *id, ID *id_sorting_hint)
|
||||
/**
|
||||
* Helper building final ID name from given base_name and number.
|
||||
*
|
||||
* If everything goes well and we do generate a valid final ID anme in given name, we return true.
|
||||
* If everything goes well and we do generate a valid final ID name in given name, we return true.
|
||||
* In case the final name would overflow the allowed ID name length, or given number is bigger than
|
||||
* maximum allowed value, we truncate further the base_name (and given name, which is assumed to
|
||||
* have the same 'base_name' part), and return false.
|
||||
@@ -1745,9 +1745,9 @@ static bool check_for_dupid(ListBase *lb, ID *id, char *name, ID **r_id_sorting_
|
||||
|
||||
if (id_name_final_build(final_name, base_name, prev_final_base_name_len, prev_number + 1) &&
|
||||
id_name_final_build(prev_final_name, base_name, prev_final_base_name_len, prev_number)) {
|
||||
/* We succeffuly built valid final names of previous and current iterations, now we have to
|
||||
* ensure that previous final name is indeed used in curent ID list, and that current one
|
||||
* is not. */
|
||||
/* We successfully built valid final names of previous and current iterations,
|
||||
* now we have to ensure that previous final name is indeed used in current ID list,
|
||||
* and that current one is not. */
|
||||
bool is_valid = false;
|
||||
for (id_test = lb->first; id_test; id_test = id_test->next) {
|
||||
if (id != id_test && !ID_IS_LINKED(id_test)) {
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
*
|
||||
* dial = BLI_dial_initialize(start_position, threshold);
|
||||
*
|
||||
* angle = BLI_dial_angle(dial, curent_position);
|
||||
* angle = BLI_dial_angle(dial, current_position);
|
||||
*
|
||||
* MEM_freeN(dial);
|
||||
* \endcode
|
||||
|
||||
@@ -5486,13 +5486,14 @@ static void direct_link_pose(FileData *fd, bPose *pose)
|
||||
}
|
||||
}
|
||||
|
||||
/* TODO(sergey): Find a more better place for this.
|
||||
/* TODO(sergey): Find a better place for this.
|
||||
*
|
||||
* Unfortunately, this can not be done as a regular do_versions() since the modifier type is
|
||||
* set to NONE, so the do_versions code wouldn't know where the modifier came from.
|
||||
*
|
||||
* Most bestest approach seems to have the functionality in versioning_280 but still call the
|
||||
* function from direct_link_modifiers(). */
|
||||
* The best approach seems to have the functionality in versioning_280.c but still call the
|
||||
* function from #direct_link_modifiers().
|
||||
*/
|
||||
|
||||
/* Domain, inflow, ... */
|
||||
static void modifier_ensure_type(FluidModifierData *fluid_modifier_data, int type)
|
||||
|
||||
@@ -463,7 +463,7 @@ static int pose_visual_transform_apply_exec(bContext *C, wmOperator *UNUSED(op))
|
||||
Depsgraph *depsgraph = CTX_data_ensure_evaluated_depsgraph(C);
|
||||
|
||||
FOREACH_OBJECT_IN_MODE_BEGIN (view_layer, v3d, OB_ARMATURE, OB_MODE_POSE, ob) {
|
||||
/* loop over all selected pchans
|
||||
/* Loop over all selected pchan's.
|
||||
*
|
||||
* TODO, loop over children before parents if multiple bones
|
||||
* at once are to be predictable*/
|
||||
|
||||
@@ -129,7 +129,7 @@ void OBJECT_OT_hook_assign(struct wmOperatorType *ot);
|
||||
void OBJECT_OT_hook_reset(struct wmOperatorType *ot);
|
||||
void OBJECT_OT_hook_recenter(struct wmOperatorType *ot);
|
||||
|
||||
/* object_group.c */
|
||||
/* object_collection.c */
|
||||
void COLLECTION_OT_create(struct wmOperatorType *ot);
|
||||
void COLLECTION_OT_objects_remove_all(struct wmOperatorType *ot);
|
||||
void COLLECTION_OT_objects_remove(struct wmOperatorType *ot);
|
||||
@@ -172,7 +172,7 @@ void OBJECT_OT_skin_armature_create(struct wmOperatorType *ot);
|
||||
void OBJECT_OT_laplaciandeform_bind(struct wmOperatorType *ot);
|
||||
void OBJECT_OT_surfacedeform_bind(struct wmOperatorType *ot);
|
||||
|
||||
/* grease pencil modifiers */
|
||||
/* object_gpencil_modifiers.c */
|
||||
void OBJECT_OT_gpencil_modifier_add(struct wmOperatorType *ot);
|
||||
void OBJECT_OT_gpencil_modifier_remove(struct wmOperatorType *ot);
|
||||
void OBJECT_OT_gpencil_modifier_move_up(struct wmOperatorType *ot);
|
||||
@@ -180,7 +180,7 @@ void OBJECT_OT_gpencil_modifier_move_down(struct wmOperatorType *ot);
|
||||
void OBJECT_OT_gpencil_modifier_apply(struct wmOperatorType *ot);
|
||||
void OBJECT_OT_gpencil_modifier_copy(struct wmOperatorType *ot);
|
||||
|
||||
/* shader fx */
|
||||
/* object_shader_fx.c */
|
||||
void OBJECT_OT_shaderfx_add(struct wmOperatorType *ot);
|
||||
void OBJECT_OT_shaderfx_remove(struct wmOperatorType *ot);
|
||||
void OBJECT_OT_shaderfx_move_up(struct wmOperatorType *ot);
|
||||
@@ -265,7 +265,7 @@ void OBJECT_OT_shape_key_retime(struct wmOperatorType *ot);
|
||||
void OBJECT_OT_shape_key_mirror(struct wmOperatorType *ot);
|
||||
void OBJECT_OT_shape_key_move(struct wmOperatorType *ot);
|
||||
|
||||
/* object_group.c */
|
||||
/* object_collection.c */
|
||||
void OBJECT_OT_collection_add(struct wmOperatorType *ot);
|
||||
void OBJECT_OT_collection_link(struct wmOperatorType *ot);
|
||||
void OBJECT_OT_collection_remove(struct wmOperatorType *ot);
|
||||
|
||||
@@ -1311,7 +1311,7 @@ static int outliner_show_active_exec(bContext *C, wmOperator *UNUSED(op))
|
||||
outliner_show_active(so, ar, te, id);
|
||||
}
|
||||
|
||||
/* Also open back from the active_element (only done for the first found occurance of ID
|
||||
/* Also open back from the active_element (only done for the first found occurrence of ID
|
||||
* though). */
|
||||
outliner_show_active(so, ar, active_element, id);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user