parent
c7a50d84b6
commit
6c0240e84a
Notes:
blender-bot
2023-02-14 03:21:27 +01:00
Referenced by issue #62612, Saving with "Remap Relative" makes ALL paths relative
|
@ -57,7 +57,7 @@ PyDoc_STRVAR(bpy_lib_write_doc,
|
|||
" :type filepath: string\n"
|
||||
" :arg datablocks: set of data-blocks (:class:`bpy.types.ID` instances).\n"
|
||||
" :type datablocks: set\n"
|
||||
" :arg relative_remap: When True, remap the paths relative to the current blend-file.\n"
|
||||
" :arg relative_remap: When True, make paths relative to the current blend-file.\n"
|
||||
" :type relative_remap: bool\n"
|
||||
" :arg fake_user: When True, data-blocks will be written with fake-user flag enabled.\n"
|
||||
" :type fake_user: bool\n"
|
||||
|
|
|
@ -2299,7 +2299,7 @@ void WM_OT_save_as_mainfile(wmOperatorType *ot)
|
|||
WM_FILESEL_FILEPATH, FILE_DEFAULTDISPLAY, FILE_SORT_ALPHA);
|
||||
RNA_def_boolean(ot->srna, "compress", false, "Compress", "Write compressed .blend file");
|
||||
RNA_def_boolean(ot->srna, "relative_remap", true, "Remap Relative",
|
||||
"Remap relative paths when saving in a different directory");
|
||||
"Make paths relative when saving to a different directory");
|
||||
prop = RNA_def_boolean(ot->srna, "copy", false, "Save Copy",
|
||||
"Save a copy of the actual working state but does not make saved file active");
|
||||
RNA_def_property_flag(prop, PROP_SKIP_SAVE);
|
||||
|
@ -2358,7 +2358,7 @@ void WM_OT_save_mainfile(wmOperatorType *ot)
|
|||
WM_FILESEL_FILEPATH, FILE_DEFAULTDISPLAY, FILE_SORT_ALPHA);
|
||||
RNA_def_boolean(ot->srna, "compress", false, "Compress", "Write compressed .blend file");
|
||||
RNA_def_boolean(ot->srna, "relative_remap", false, "Remap Relative",
|
||||
"Remap relative paths when saving in a different directory");
|
||||
"Make paths relative when saving to a different directory");
|
||||
|
||||
prop = RNA_def_boolean(ot->srna, "exit", false, "Exit", "Exit Blender after saving");
|
||||
RNA_def_property_flag(prop, PROP_HIDDEN | PROP_SKIP_SAVE);
|
||||
|
|
Loading…
Reference in New Issue