Changeset View
Changeset View
Standalone View
Standalone View
source/blender/windowmanager/intern/wm_operator_props.c
| Show First 20 Lines • Show All 98 Lines • ▼ Show 20 Lines | void WM_operator_properties_filesel( | ||||
| RNA_def_property_flag(prop, PROP_HIDDEN | PROP_SKIP_SAVE); | RNA_def_property_flag(prop, PROP_HIDDEN | PROP_SKIP_SAVE); | ||||
| prop = RNA_def_boolean(ot->srna, "filter_alembic", (filter & FILE_TYPE_ALEMBIC) != 0, "Filter Alembic files", ""); | prop = RNA_def_boolean(ot->srna, "filter_alembic", (filter & FILE_TYPE_ALEMBIC) != 0, "Filter Alembic files", ""); | ||||
| RNA_def_property_flag(prop, PROP_HIDDEN | PROP_SKIP_SAVE); | RNA_def_property_flag(prop, PROP_HIDDEN | PROP_SKIP_SAVE); | ||||
| prop = RNA_def_boolean(ot->srna, "filter_folder", (filter & FILE_TYPE_FOLDER) != 0, "Filter folders", ""); | prop = RNA_def_boolean(ot->srna, "filter_folder", (filter & FILE_TYPE_FOLDER) != 0, "Filter folders", ""); | ||||
| RNA_def_property_flag(prop, PROP_HIDDEN | PROP_SKIP_SAVE); | RNA_def_property_flag(prop, PROP_HIDDEN | PROP_SKIP_SAVE); | ||||
| prop = RNA_def_boolean(ot->srna, "filter_blenlib", (filter & FILE_TYPE_BLENDERLIB) != 0, "Filter Blender IDs", ""); | prop = RNA_def_boolean(ot->srna, "filter_blenlib", (filter & FILE_TYPE_BLENDERLIB) != 0, "Filter Blender IDs", ""); | ||||
| RNA_def_property_flag(prop, PROP_HIDDEN | PROP_SKIP_SAVE); | RNA_def_property_flag(prop, PROP_HIDDEN | PROP_SKIP_SAVE); | ||||
| prop = RNA_def_int(ot->srna, "filemode", type, FILE_LOADLIB, FILE_SPECIAL, | prop = RNA_def_int(ot->srna, "filemode", type, FILE_LOADLIB_LINKABLE, FILE_SPECIAL, | ||||
| "File Browser Mode", "The setting for the file browser mode to load a .blend file, a library or a special file", | "File Browser Mode", "The setting for the file browser mode to load a .blend file, a library or a special file", | ||||
| FILE_LOADLIB, FILE_SPECIAL); | FILE_LOADLIB_LINKABLE, FILE_SPECIAL); | ||||
| RNA_def_property_flag(prop, PROP_HIDDEN | PROP_SKIP_SAVE); | RNA_def_property_flag(prop, PROP_HIDDEN | PROP_SKIP_SAVE); | ||||
| if (flag & WM_FILESEL_RELPATH) | if (flag & WM_FILESEL_RELPATH) | ||||
| RNA_def_boolean(ot->srna, "relative_path", true, "Relative Path", "Select the file relative to the blend file"); | RNA_def_boolean(ot->srna, "relative_path", true, "Relative Path", "Select the file relative to the blend file"); | ||||
| if ((filter & FILE_TYPE_IMAGE) || (filter & FILE_TYPE_MOVIE)) { | if ((filter & FILE_TYPE_IMAGE) || (filter & FILE_TYPE_MOVIE)) { | ||||
| prop = RNA_def_boolean(ot->srna, "show_multiview", 0, "Enable Multi-View", ""); | prop = RNA_def_boolean(ot->srna, "show_multiview", 0, "Enable Multi-View", ""); | ||||
| RNA_def_property_flag(prop, PROP_HIDDEN | PROP_SKIP_SAVE); | RNA_def_property_flag(prop, PROP_HIDDEN | PROP_SKIP_SAVE); | ||||
| ▲ Show 20 Lines • Show All 183 Lines • Show Last 20 Lines | |||||