Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/transform/transform.c
| Show First 20 Lines • Show All 1,899 Lines • ▼ Show 20 Lines | #endif | ||||
| glDisable(GL_BLEND); | glDisable(GL_BLEND); | ||||
| } | } | ||||
| static void drawTransformPixel(const struct bContext *UNUSED(C), ARegion *ar, void *arg) | static void drawTransformPixel(const struct bContext *UNUSED(C), ARegion *ar, void *arg) | ||||
| { | { | ||||
| TransInfo *t = arg; | TransInfo *t = arg; | ||||
| Scene *scene = t->scene; | Scene *scene = t->scene; | ||||
| SceneLayer *sl = t->scene_layer; | ViewLayer *sl = t->view_layer; | ||||
| Object *ob = OBACT(sl); | Object *ob = OBACT(sl); | ||||
| /* draw autokeyframing hint in the corner | /* draw autokeyframing hint in the corner | ||||
| * - only draw if enabled (advanced users may be distracted/annoyed), | * - only draw if enabled (advanced users may be distracted/annoyed), | ||||
| * for objects that will be autokeyframed (no point ohterwise), | * for objects that will be autokeyframed (no point ohterwise), | ||||
| * AND only for the active region (as showing all is too overwhelming) | * AND only for the active region (as showing all is too overwhelming) | ||||
| */ | */ | ||||
| if ((U.autokey_flag & AUTOKEY_FLAG_NOWARNING) == 0) { | if ((U.autokey_flag & AUTOKEY_FLAG_NOWARNING) == 0) { | ||||
| ▲ Show 20 Lines • Show All 6,773 Lines • Show Last 20 Lines | |||||