Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/animation/anim_markers.c
| Show First 20 Lines • Show All 393 Lines • ▼ Show 20 Lines | #ifdef DURIAN_CAMERA_SWITCH | ||||
| if (marker->camera && (marker->camera->restrictflag & OB_RESTRICT_RENDER)) { | if (marker->camera && (marker->camera->restrictflag & OB_RESTRICT_RENDER)) { | ||||
| float col[4]; | float col[4]; | ||||
| glGetFloatv(GL_CURRENT_COLOR, col); | glGetFloatv(GL_CURRENT_COLOR, col); | ||||
| col[3] = 0.4; | col[3] = 0.4; | ||||
| glColor4fv(col); | glColor4fv(col); | ||||
| } | } | ||||
| #endif | #endif | ||||
| UI_DrawString(x, y, marker->name); | UI_draw_string(x, y, marker->name); | ||||
| } | } | ||||
| } | } | ||||
| /* Draw Scene-Markers in time window */ | /* Draw Scene-Markers in time window */ | ||||
| void ED_markers_draw(const bContext *C, int flag) | void ED_markers_draw(const bContext *C, int flag) | ||||
| { | { | ||||
| ListBase *markers = ED_context_get_markers(C); | ListBase *markers = ED_context_get_markers(C); | ||||
| View2D *v2d; | View2D *v2d; | ||||
| ▲ Show 20 Lines • Show All 1,173 Lines • Show Last 20 Lines | |||||