Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_scene.c
- This file is larger than 256 KB, so syntax highlighting is disabled by default.
| Show First 20 Lines • Show All 7,353 Lines • ▼ Show 20 Lines | static const EnumPropertyItem audio_distance_model_items[] = { | ||||
| {3, "LINEAR", 0, "Linear", "Linear distance model"}, | {3, "LINEAR", 0, "Linear", "Linear distance model"}, | ||||
| {4, "LINEAR_CLAMPED", 0, "Linear Clamped", "Linear distance model with clamping"}, | {4, "LINEAR_CLAMPED", 0, "Linear Clamped", "Linear distance model with clamping"}, | ||||
| {5, "EXPONENT", 0, "Exponent", "Exponent distance model"}, | {5, "EXPONENT", 0, "Exponent", "Exponent distance model"}, | ||||
| {6, "EXPONENT_CLAMPED", 0, "Exponent Clamped", "Exponent distance model with clamping"}, | {6, "EXPONENT_CLAMPED", 0, "Exponent Clamped", "Exponent distance model with clamping"}, | ||||
| {0, NULL, 0, NULL, NULL}, | {0, NULL, 0, NULL, NULL}, | ||||
| }; | }; | ||||
| static const EnumPropertyItem sync_mode_items[] = { | static const EnumPropertyItem sync_mode_items[] = { | ||||
| {0, "NONE", 0, "No Sync", "Do not sync, play every frame"}, | {0, "NONE", 0, "Play Every Frame", "Do not sync, play every frame"}, | ||||
| {SCE_FRAME_DROP, "FRAME_DROP", 0, "Frame Dropping", "Drop frames if playback is too slow"}, | {SCE_FRAME_DROP, "FRAME_DROP", 0, "Frame Dropping", "Drop frames if playback is too slow"}, | ||||
| {AUDIO_SYNC, "AUDIO_SYNC", 0, "AV-sync", "Sync to audio playback, dropping frames"}, | {AUDIO_SYNC, "AUDIO_SYNC", 0, "Sync to Audio", "Sync to audio playback, dropping frames"}, | ||||
| {0, NULL, 0, NULL, NULL}, | {0, NULL, 0, NULL, NULL}, | ||||
| }; | }; | ||||
| /* Struct definition */ | /* Struct definition */ | ||||
| srna = RNA_def_struct(brna, "Scene", "ID"); | srna = RNA_def_struct(brna, "Scene", "ID"); | ||||
| RNA_def_struct_ui_text(srna, | RNA_def_struct_ui_text(srna, | ||||
| "Scene", | "Scene", | ||||
| "Scene data-block, consisting in objects and " | "Scene data-block, consisting in objects and " | ||||
| ▲ Show 20 Lines • Show All 478 Lines • Show Last 20 Lines | |||||