Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/transform/transform_convert.c
| Show First 20 Lines • Show All 1,601 Lines • ▼ Show 20 Lines | if ((md->type == eModifierType_Mirror) && (md->mode & eModifierMode_Realtime)) { | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| void animrecord_check_state(TransInfo *t, struct Object *ob) | void animrecord_check_state(TransInfo *t, struct ID *id) | ||||
| { | { | ||||
| Scene *scene = t->scene; | Scene *scene = t->scene; | ||||
| ID *id = &ob->id; | |||||
| wmTimer *animtimer = t->animtimer; | wmTimer *animtimer = t->animtimer; | ||||
| ScreenAnimData *sad = (animtimer) ? animtimer->customdata : NULL; | ScreenAnimData *sad = (animtimer) ? animtimer->customdata : NULL; | ||||
| /* sanity checks */ | /* sanity checks */ | ||||
| if (ELEM(NULL, scene, id, sad)) { | if (ELEM(NULL, scene, id, sad)) { | ||||
| return; | return; | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 174 Lines • Show Last 20 Lines | |||||