Cleanup: make format
This commit is contained in:
@@ -234,8 +234,8 @@ std::unique_ptr<MetaData> RenderLayersProg::getMetaData() const
|
||||
view_layer->name,
|
||||
BLI_strnlen(view_layer->name, sizeof(view_layer->name))) +
|
||||
"." + m_passName;
|
||||
blender::StringRef cryptomatte_layer_name = blender::bke::cryptomatte::BKE_cryptomatte_extract_layer_name(
|
||||
full_layer_name);
|
||||
blender::StringRef cryptomatte_layer_name =
|
||||
blender::bke::cryptomatte::BKE_cryptomatte_extract_layer_name(full_layer_name);
|
||||
callback_data.setCryptomatteKeys(cryptomatte_layer_name);
|
||||
|
||||
BKE_stamp_info_callback(&callback_data,
|
||||
|
||||
@@ -572,7 +572,8 @@ static void constraints_rotation_impl(TransInfo *t,
|
||||
break;
|
||||
}
|
||||
/* don't flip axis if asked to or if num input */
|
||||
if (r_angle && !((mode & CON_NOFLIP) || hasNumInput(&t->num) || (t->flag & T_INPUT_IS_VALUES_FINAL))) {
|
||||
if (r_angle &&
|
||||
!((mode & CON_NOFLIP) || hasNumInput(&t->num) || (t->flag & T_INPUT_IS_VALUES_FINAL))) {
|
||||
float view_vector[3];
|
||||
view_vector_calc(t, t->center_global, view_vector);
|
||||
if (dot_v3v3(r_vec, view_vector) > 0.0f) {
|
||||
|
||||
@@ -966,10 +966,11 @@ static void rna_def_bone_common(StructRNA *srna, int editbone)
|
||||
|
||||
prop = RNA_def_property(srna, "show_wire", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", BONE_DRAWWIRE);
|
||||
RNA_def_property_ui_text(prop,
|
||||
"Display Wire",
|
||||
"Bone is always displayed in wireframe regardless of viewport shading mode "
|
||||
"(useful for non-obstructive custom bone shapes)");
|
||||
RNA_def_property_ui_text(
|
||||
prop,
|
||||
"Display Wire",
|
||||
"Bone is always displayed in wireframe regardless of viewport shading mode "
|
||||
"(useful for non-obstructive custom bone shapes)");
|
||||
RNA_def_property_update(prop, 0, "rna_Armature_redraw_data");
|
||||
|
||||
/* XXX: use_cyclic_offset is deprecated in 2.5. May/may not return */
|
||||
|
||||
@@ -1887,7 +1887,8 @@ static void rna_def_gpencil_options(BlenderRNA *brna)
|
||||
|
||||
prop = RNA_def_property(srna, "show_lasso", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_negative_sdna(prop, NULL, "flag", GP_BRUSH_DISSABLE_LASSO);
|
||||
RNA_def_property_ui_text(prop, "Show Lasso", "Do not display fill color while drawing the stroke");
|
||||
RNA_def_property_ui_text(
|
||||
prop, "Show Lasso", "Do not display fill color while drawing the stroke");
|
||||
RNA_def_property_clear_flag(prop, PROP_ANIMATABLE);
|
||||
|
||||
prop = RNA_def_property(srna, "use_occlude_eraser", PROP_BOOLEAN, PROP_NONE);
|
||||
|
||||
@@ -1743,8 +1743,7 @@ static void rna_def_modifier_subsurf(BlenderRNA *brna)
|
||||
|
||||
prop = RNA_def_property(srna, "show_only_control_edges", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flags", eSubsurfModifierFlag_ControlEdges);
|
||||
RNA_def_property_ui_text(
|
||||
prop, "Optimal Display", "Skip displaying interior subdivided edges");
|
||||
RNA_def_property_ui_text(prop, "Optimal Display", "Skip displaying interior subdivided edges");
|
||||
RNA_def_property_update(prop, 0, "rna_Modifier_update");
|
||||
|
||||
prop = RNA_def_property(srna, "use_creases", PROP_BOOLEAN, PROP_NONE);
|
||||
|
||||
@@ -3316,7 +3316,8 @@ static void rna_def_object(BlenderRNA *brna)
|
||||
|
||||
prop = RNA_def_property(srna, "show_wire", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "dtx", OB_DRAWWIRE);
|
||||
RNA_def_property_ui_text(prop, "Display Wire", "Display the object's wireframe over solid shading");
|
||||
RNA_def_property_ui_text(
|
||||
prop, "Display Wire", "Display the object's wireframe over solid shading");
|
||||
RNA_def_property_update(prop, NC_OBJECT | ND_DRAW, NULL);
|
||||
|
||||
prop = RNA_def_property(srna, "show_all_edges", PROP_BOOLEAN, PROP_NONE);
|
||||
|
||||
@@ -3879,8 +3879,7 @@ static void rna_def_userdef_themes(BlenderRNA *brna)
|
||||
srna = RNA_def_struct(brna, "Theme", NULL);
|
||||
RNA_def_struct_sdna(srna, "bTheme");
|
||||
RNA_def_struct_clear_flag(srna, STRUCT_UNDO);
|
||||
RNA_def_struct_ui_text(
|
||||
srna, "Theme", "User interface styling and color settings");
|
||||
RNA_def_struct_ui_text(srna, "Theme", "User interface styling and color settings");
|
||||
|
||||
prop = RNA_def_property(srna, "name", PROP_STRING, PROP_NONE);
|
||||
RNA_def_property_ui_text(prop, "Name", "Name of the theme");
|
||||
@@ -4270,7 +4269,8 @@ static void rna_def_userdef_solidlight(BlenderRNA *brna)
|
||||
srna = RNA_def_struct(brna, "UserSolidLight", NULL);
|
||||
RNA_def_struct_sdna(srna, "SolidLight");
|
||||
RNA_def_struct_clear_flag(srna, STRUCT_UNDO);
|
||||
RNA_def_struct_ui_text(srna, "Solid Light", "Light used for Studio lighting in solid shading mode");
|
||||
RNA_def_struct_ui_text(
|
||||
srna, "Solid Light", "Light used for Studio lighting in solid shading mode");
|
||||
|
||||
prop = RNA_def_property(srna, "use", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", 1);
|
||||
@@ -4815,7 +4815,8 @@ static void rna_def_userdef_view(BlenderRNA *brna)
|
||||
|
||||
prop = RNA_def_property(srna, "use_text_antialiasing", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_negative_sdna(prop, NULL, "text_render", USER_TEXT_DISABLE_AA);
|
||||
RNA_def_property_ui_text(prop, "Text Anti-Aliasing", "Smooth jagged edges of user interface text");
|
||||
RNA_def_property_ui_text(
|
||||
prop, "Text Anti-Aliasing", "Smooth jagged edges of user interface text");
|
||||
RNA_def_property_update(prop, 0, "rna_userdef_text_update");
|
||||
|
||||
prop = RNA_def_property(srna, "text_hinting", PROP_ENUM, PROP_NONE);
|
||||
|
||||
Reference in New Issue
Block a user