Cleanup: clang-format
Forgot to run Make Format on recent spelling changes
This commit is contained in:
parent
93c67b0b8e
commit
92ab76c38f
|
@ -1105,8 +1105,11 @@ bool RNA_struct_bl_idname_ok_or_report(ReportList *reports,
|
|||
const bool failure = false;
|
||||
#endif
|
||||
if (p == NULL || p == identifier || p + len_sep >= identifier + len_id) {
|
||||
BKE_reportf(
|
||||
reports, report_level, "'%s' does not contain '%s' with prefix and suffix", identifier, sep);
|
||||
BKE_reportf(reports,
|
||||
report_level,
|
||||
"'%s' does not contain '%s' with prefix and suffix",
|
||||
identifier,
|
||||
sep);
|
||||
return failure;
|
||||
}
|
||||
|
||||
|
|
|
@ -1486,10 +1486,11 @@ static void rna_def_field(BlenderRNA *brna)
|
|||
prop = RNA_def_property(srna, "texture_mode", PROP_ENUM, PROP_NONE);
|
||||
RNA_def_property_enum_sdna(prop, NULL, "tex_mode");
|
||||
RNA_def_property_enum_items(prop, texture_items);
|
||||
RNA_def_property_ui_text(prop,
|
||||
"Texture Mode",
|
||||
"How the texture effect is calculated (RGB and Curl need a RGB texture, "
|
||||
"else Gradient will be used instead)");
|
||||
RNA_def_property_ui_text(
|
||||
prop,
|
||||
"Texture Mode",
|
||||
"How the texture effect is calculated (RGB and Curl need a RGB texture, "
|
||||
"else Gradient will be used instead)");
|
||||
RNA_def_property_update(prop, 0, "rna_FieldSettings_update");
|
||||
|
||||
prop = RNA_def_property(srna, "z_direction", PROP_ENUM, PROP_NONE);
|
||||
|
|
|
@ -4281,7 +4281,8 @@ static void rna_def_space_view3d(BlenderRNA *brna)
|
|||
/* Camera Object Data. */
|
||||
prop = RNA_def_property(srna, "show_gizmo_camera_lens", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "gizmo_show_camera", V3D_GIZMO_SHOW_CAMERA_LENS);
|
||||
RNA_def_property_ui_text(prop, "Show Camera Lens", "Gizmo to adjust camera focal length or orthographic scale");
|
||||
RNA_def_property_ui_text(
|
||||
prop, "Show Camera Lens", "Gizmo to adjust camera focal length or orthographic scale");
|
||||
RNA_def_property_update(prop, NC_SPACE | ND_SPACE_VIEW3D, NULL);
|
||||
|
||||
prop = RNA_def_property(srna, "show_gizmo_camera_dof_distance", PROP_BOOLEAN, PROP_NONE);
|
||||
|
|
|
@ -6067,10 +6067,11 @@ static void rna_def_userdef_filepaths(BlenderRNA *brna)
|
|||
|
||||
prop = RNA_def_property(srna, "script_directory", PROP_STRING, PROP_DIRPATH);
|
||||
RNA_def_property_string_sdna(prop, NULL, "pythondir");
|
||||
RNA_def_property_ui_text(prop,
|
||||
"Python Scripts Directory",
|
||||
"Alternate script path, matching the default layout with subdirectories: "
|
||||
"startup, add-ons and modules (requires restart)");
|
||||
RNA_def_property_ui_text(
|
||||
prop,
|
||||
"Python Scripts Directory",
|
||||
"Alternate script path, matching the default layout with subdirectories: "
|
||||
"startup, add-ons and modules (requires restart)");
|
||||
/* TODO, editing should reset sys.path! */
|
||||
|
||||
prop = RNA_def_property(srna, "i18n_branches_directory", PROP_STRING, PROP_DIRPATH);
|
||||
|
|
Loading…
Reference in New Issue