Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/space_sequencer/sequencer_add.c
| Show First 20 Lines • Show All 249 Lines • ▼ Show 20 Lines | static void load_data_init_from_operator(SeqLoadData *load_data, bContext *C, wmOperator *op) | ||||
| } | } | ||||
| if ((is_file != -1) && relative) { | if ((is_file != -1) && relative) { | ||||
| BLI_path_rel(load_data->path, BKE_main_blendfile_path(bmain)); | BLI_path_rel(load_data->path, BKE_main_blendfile_path(bmain)); | ||||
| } | } | ||||
| if ((prop = RNA_struct_find_property(op->ptr, "frame_end"))) { | if ((prop = RNA_struct_find_property(op->ptr, "frame_end"))) { | ||||
| load_data->image.end_frame = RNA_property_int_get(op->ptr, prop); | load_data->image.end_frame = RNA_property_int_get(op->ptr, prop); | ||||
| load_data->effect.end_frame = load_data->image.end_frame; | |||||
| } | } | ||||
| if ((prop = RNA_struct_find_property(op->ptr, "cache")) && | if ((prop = RNA_struct_find_property(op->ptr, "cache")) && | ||||
| RNA_property_boolean_get(op->ptr, prop)) { | RNA_property_boolean_get(op->ptr, prop)) { | ||||
| load_data->flags |= SEQ_LOAD_SOUND_CACHE; | load_data->flags |= SEQ_LOAD_SOUND_CACHE; | ||||
| } | } | ||||
| if ((prop = RNA_struct_find_property(op->ptr, "mono")) && | if ((prop = RNA_struct_find_property(op->ptr, "mono")) && | ||||
| ▲ Show 20 Lines • Show All 958 Lines • Show Last 20 Lines | |||||