flow.prop(paths, "save_version")
flow.prop(paths, "recent_files")
- flow.prop(paths, "author", text="Author")
class USERPREF_PT_file_saveload_autosave(PreferencePanel):
asset.setUnit(unitname, linearmeasure);
asset.setUpAxisType(COLLADASW::Asset::Z_UP);
- if (U.author[0] != '\0') {
- asset.getContributor().mAuthor = U.author;
- }
- else {
- asset.getContributor().mAuthor = "Blender User";
- }
+ asset.getContributor().mAuthor = "Blender User";
char version_buf[128];
#ifdef WITH_BUILDINFO
BLI_snprintf(version_buf, sizeof(version_buf), "Blender %d.%02d.%d commit date:%s, commit time:%s, hash:%s",
"(unsafe with blend files from an untrusted source)");
RNA_def_property_update(prop, 0, "rna_userdef_script_autoexec_update");
- prop = RNA_def_property(srna, "author", PROP_STRING, PROP_NONE);
- RNA_def_property_string_sdna(prop, NULL, "author");
- RNA_def_property_string_maxlength(prop, 80);
- RNA_def_property_ui_text(prop, "Author",
- "Name that will be used in exported files when format supports such feature");
-
prop = RNA_def_property(srna, "use_tabs_as_spaces", PROP_BOOLEAN, PROP_NONE);
RNA_def_property_boolean_negative_sdna(prop, NULL, "flag", USER_TXT_TABSTOSPACES_DISABLE);
RNA_def_property_ui_text(prop, "Tabs as Spaces",