Defaults: Change default axes for Track To constraint

The main use-case for the Track To constraint is camera tracking, so
this sets up a better default for this. That is, track to -Z with Y up.

Agreed on internally with Pablo Vazquez and William Reynish. Should
there be a reason to revert this, that would be fine compatibility-wise.
This commit is contained in:
Julian Eisel 2020-04-24 16:12:09 +02:00
parent 246d59ff0f
commit be00902082
Notes: blender-bot 2023-02-14 08:08:56 +01:00
Referenced by issue #78000, Camera Object Constraint->Track To is broken in 2.83
1 changed files with 2 additions and 2 deletions

View File

@ -1009,8 +1009,8 @@ static void trackto_new_data(void *cdata)
{
bTrackToConstraint *data = (bTrackToConstraint *)cdata;
data->reserved1 = TRACK_Y;
data->reserved2 = UP_Z;
data->reserved1 = TRACK_nZ;
data->reserved2 = UP_Y;
}
static void trackto_id_looper(bConstraint *con, ConstraintIDFunc func, void *userdata)