Changeset View
Changeset View
Standalone View
Standalone View
source/blender/windowmanager/intern/wm_operators.c
| Context not available. | |||||
| (RNA_struct_property_is_set(op->ptr, "copy") && | (RNA_struct_property_is_set(op->ptr, "copy") && | ||||
| RNA_boolean_get(op->ptr, "copy")), | RNA_boolean_get(op->ptr, "copy")), | ||||
| G_FILE_SAVE_COPY); | G_FILE_SAVE_COPY); | ||||
| BKE_BIT_TEST_SET(fileflags, RNA_boolean_get(op->ptr, "external"), | |||||
| G_FILE_SAVE_EXTERNAL); | |||||
| #ifdef USE_BMESH_SAVE_AS_COMPAT | #ifdef USE_BMESH_SAVE_AS_COMPAT | ||||
| BKE_BIT_TEST_SET(fileflags, | BKE_BIT_TEST_SET(fileflags, | ||||
| Context not available. | |||||
| prop = RNA_def_boolean(ot->srna, "copy", 0, "Save Copy", | prop = RNA_def_boolean(ot->srna, "copy", 0, "Save Copy", | ||||
| "Save a copy of the actual working state but does not make saved file active"); | "Save a copy of the actual working state but does not make saved file active"); | ||||
| RNA_def_property_flag(prop, PROP_SKIP_SAVE); | RNA_def_property_flag(prop, PROP_SKIP_SAVE); | ||||
| prop = RNA_def_boolean(ot->srna, "external", 0, "External Data", | |||||
| "Save external files as well (modified images)"); | |||||
| RNA_def_property_flag(prop, PROP_SKIP_SAVE); | |||||
| #ifdef USE_BMESH_SAVE_AS_COMPAT | #ifdef USE_BMESH_SAVE_AS_COMPAT | ||||
| RNA_def_boolean(ot->srna, "use_mesh_compat", 0, "Legacy Mesh Format", | RNA_def_boolean(ot->srna, "use_mesh_compat", 0, "Legacy Mesh Format", | ||||
| "Save using legacy mesh format (no ngons) - WARNING: only saves tris and quads, other ngons will " | "Save using legacy mesh format (no ngons) - WARNING: only saves tris and quads, other ngons will " | ||||
| Context not available. | |||||