Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/intern/constraint.c
| Show First 20 Lines • Show All 2,333 Lines • ▼ Show 20 Lines | switch (data->mix_mode) { | ||||
| mul_m4_m4m4_split_channels(cob->matrix, target_mat, cob->matrix); | mul_m4_m4m4_split_channels(cob->matrix, target_mat, cob->matrix); | ||||
| break; | break; | ||||
| case TRANSLIKE_MIX_AFTER_SPLIT: | case TRANSLIKE_MIX_AFTER_SPLIT: | ||||
| mul_m4_m4m4_split_channels(cob->matrix, cob->matrix, target_mat); | mul_m4_m4m4_split_channels(cob->matrix, cob->matrix, target_mat); | ||||
| break; | break; | ||||
| default: | default: | ||||
| BLI_assert(!"Unknown Copy Transforms mix mode"); | BLI_assert_msg(0, "Unknown Copy Transforms mix mode"); | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| static bConstraintTypeInfo CTI_TRANSLIKE = { | static bConstraintTypeInfo CTI_TRANSLIKE = { | ||||
| CONSTRAINT_TYPE_TRANSLIKE, /* type */ | CONSTRAINT_TYPE_TRANSLIKE, /* type */ | ||||
| sizeof(bTransLikeConstraint), /* size */ | sizeof(bTransLikeConstraint), /* size */ | ||||
| "Copy Transforms", /* name */ | "Copy Transforms", /* name */ | ||||
| ▲ Show 20 Lines • Show All 635 Lines • ▼ Show 20 Lines | switch (data->mix_mode) { | ||||
| mul_m4_m4m4_aligned_scale(cob->matrix, cob->matrix, ct->matrix); | mul_m4_m4m4_aligned_scale(cob->matrix, cob->matrix, ct->matrix); | ||||
| break; | break; | ||||
| case ACTCON_MIX_AFTER_FULL: | case ACTCON_MIX_AFTER_FULL: | ||||
| mul_m4_m4m4(cob->matrix, cob->matrix, ct->matrix); | mul_m4_m4m4(cob->matrix, cob->matrix, ct->matrix); | ||||
| break; | break; | ||||
| default: | default: | ||||
| BLI_assert(!"Unknown Action mix mode"); | BLI_assert_msg(0, "Unknown Action mix mode"); | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| static bConstraintTypeInfo CTI_ACTION = { | static bConstraintTypeInfo CTI_ACTION = { | ||||
| CONSTRAINT_TYPE_ACTION, /* type */ | CONSTRAINT_TYPE_ACTION, /* type */ | ||||
| sizeof(bActionConstraint), /* size */ | sizeof(bActionConstraint), /* size */ | ||||
| "Action", /* name */ | "Action", /* name */ | ||||
| ▲ Show 20 Lines • Show All 3,539 Lines • Show Last 20 Lines | |||||