Cleanup: reformat trailing comments that caused line wrapping
This commit is contained in:
@@ -846,8 +846,9 @@ void BKE_pose_copy_data_ex(bPose **dst,
|
||||
}
|
||||
|
||||
if (copy_constraints) {
|
||||
BKE_constraints_copy_ex(
|
||||
&listb, &pchan->constraints, flag, true); /* BKE_constraints_copy NULLs listb */
|
||||
/* #BKE_constraints_copy NULL's `listb` */
|
||||
BKE_constraints_copy_ex(&listb, &pchan->constraints, flag, true);
|
||||
|
||||
pchan->constraints = listb;
|
||||
|
||||
/* XXX: This is needed for motionpath drawing to work.
|
||||
|
||||
@@ -173,12 +173,10 @@ static bool calc_curve_deform(
|
||||
copy_qt_qt(quat, new_quat);
|
||||
copy_v3_v3(cent, co);
|
||||
|
||||
/* zero the axis which is not used,
|
||||
* the big block of text above now applies to these 3 lines */
|
||||
quat_apply_track(quat,
|
||||
axis,
|
||||
(ELEM(axis, 0, 2)) ? 1 :
|
||||
0); /* up flag is a dummy, set so no rotation is done */
|
||||
/* Zero the axis which is not used,
|
||||
* the big block of text above now applies to these 3 lines.
|
||||
* The `upflag` argument may be a dummy, set so no rotation is done. */
|
||||
quat_apply_track(quat, axis, (ELEM(axis, 0, 2)) ? 1 : 0);
|
||||
vec_apply_track(cent, axis);
|
||||
cent[index] = 0.0f;
|
||||
|
||||
|
||||
@@ -1615,8 +1615,9 @@ static void emit_from_particles(Object *flow_ob,
|
||||
}
|
||||
}
|
||||
|
||||
state.time = BKE_scene_frame_get(
|
||||
scene); /* DEG_get_ctime(depsgraph) does not give subframe time */
|
||||
/* `DEG_get_ctime(depsgraph)` does not give sub-frame time. */
|
||||
state.time = BKE_scene_frame_get(scene);
|
||||
|
||||
if (psys_get_particle_state(&sim, p, &state, 0) == 0) {
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -957,8 +957,8 @@ static void object_blend_read_lib(BlendLibReader *reader, ID *id)
|
||||
ob, eModifierType_Fluidsim);
|
||||
|
||||
if (fluidmd && fluidmd->fss) {
|
||||
BLO_read_id_address(
|
||||
reader, ob->id.lib, &fluidmd->fss->ipo); /* XXX deprecated - old animation system */
|
||||
/* XXX: deprecated - old animation system. */
|
||||
BLO_read_id_address(reader, ob->id.lib, &fluidmd->fss->ipo);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -384,8 +384,9 @@ void BKE_particle_partdeflect_blend_read_lib(BlendLibReader *reader, ID *id, Par
|
||||
static void particle_settings_blend_read_lib(BlendLibReader *reader, ID *id)
|
||||
{
|
||||
ParticleSettings *part = (ParticleSettings *)id;
|
||||
BLO_read_id_address(
|
||||
reader, part->id.lib, &part->ipo); /* XXX deprecated - old animation system */
|
||||
|
||||
/* XXX: deprecated - old animation system. */
|
||||
BLO_read_id_address(reader, part->id.lib, &part->ipo);
|
||||
|
||||
BLO_read_id_address(reader, part->id.lib, &part->instance_object);
|
||||
BLO_read_id_address(reader, part->id.lib, &part->instance_collection);
|
||||
|
||||
@@ -1466,8 +1466,8 @@ static void scene_blend_read_lib(BlendLibReader *reader, ID *id)
|
||||
IDP_BlendReadLib(reader, seq->prop);
|
||||
|
||||
if (seq->ipo) {
|
||||
BLO_read_id_address(
|
||||
reader, sce->id.lib, &seq->ipo); /* XXX deprecated - old animation system */
|
||||
/* XXX: deprecated - old animation system. */
|
||||
BLO_read_id_address(reader, sce->id.lib, &seq->ipo);
|
||||
}
|
||||
seq->scene_sound = NULL;
|
||||
if (seq->scene) {
|
||||
|
||||
@@ -187,8 +187,8 @@ static void sound_blend_read_data(BlendDataReader *reader, ID *id)
|
||||
static void sound_blend_read_lib(BlendLibReader *reader, ID *id)
|
||||
{
|
||||
bSound *sound = (bSound *)id;
|
||||
BLO_read_id_address(
|
||||
reader, sound->id.lib, &sound->ipo); /* XXX deprecated - old animation system */
|
||||
/* XXX: deprecated - old animation system. */
|
||||
BLO_read_id_address(reader, sound->id.lib, &sound->ipo);
|
||||
}
|
||||
|
||||
static void sound_blend_read_expand(BlendExpander *expander, ID *id)
|
||||
|
||||
Reference in New Issue
Block a user