Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/space_nla/nla_draw.c
| Show First 20 Lines • Show All 402 Lines • ▼ Show 20 Lines | else { | ||||
| /* solid line */ | /* solid line */ | ||||
| immUniform1f("dash_factor", 2.0f); | immUniform1f("dash_factor", 2.0f); | ||||
| GPU_line_width(1.0f); | GPU_line_width(1.0f); | ||||
| } | } | ||||
| return shdr_pos; | return shdr_pos; | ||||
| } | } | ||||
| /** This check only accounts for the track's disabled flag and whether the strip is being tweaked. | /** | ||||
| * It does not account for muting or soloing. */ | * This check only accounts for the track's disabled flag and whether the strip is being tweaked. | ||||
| * It does not account for muting or soloing. | |||||
| */ | |||||
| static bool is_nlastrip_enabled(AnimData *adt, NlaTrack *nlt, NlaStrip *strip) | static bool is_nlastrip_enabled(AnimData *adt, NlaTrack *nlt, NlaStrip *strip) | ||||
| { | { | ||||
| /** This shouldn't happen. If passed NULL, then just treat strip as enabled. */ | /** This shouldn't happen. If passed NULL, then just treat strip as enabled. */ | ||||
| BLI_assert(adt); | BLI_assert(adt); | ||||
| if (!adt) { | if (!adt) { | ||||
| return true; | return true; | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 500 Lines • Show Last 20 Lines | |||||