diff --git a/intern/cycles/blender/util.h b/intern/cycles/blender/util.h index b685fa75c33..7ced0d48136 100644 --- a/intern/cycles/blender/util.h +++ b/intern/cycles/blender/util.h @@ -94,9 +94,8 @@ static inline BL::Mesh object_to_mesh(BL::BlendData & /*data*/, /* Make a copy to split faces if we use auto-smooth, otherwise not needed. * Also in edit mode do we need to make a copy, to ensure data layers like * UV are not empty. */ - if (mesh.is_editmode() || - (mesh.normals_domain() == BL::Mesh::normals_domain_CORNER && - subdivision_type == Mesh::SUBDIVISION_NONE)) + if (mesh.is_editmode() || (mesh.normals_domain() == BL::Mesh::normals_domain_CORNER && + subdivision_type == Mesh::SUBDIVISION_NONE)) { BL::Depsgraph depsgraph(PointerRNA_NULL); mesh = b_ob_info.real_object.to_mesh(false, depsgraph); diff --git a/scripts/presets/keyconfig/keymap_data/blender_default.py b/scripts/presets/keyconfig/keymap_data/blender_default.py index f6e2005344b..2aaff955292 100644 --- a/scripts/presets/keyconfig/keymap_data/blender_default.py +++ b/scripts/presets/keyconfig/keymap_data/blender_default.py @@ -4612,7 +4612,8 @@ def km_grease_pencil_edit(params): op_menu("VIEW3D_MT_edit_greasepencil_animation", {"type": 'I', "value": 'PRESS'}), # Cyclical set ("grease_pencil.cyclical_set", {"type": 'F', "value": 'PRESS'}, {"properties": [("type", "CLOSE")]}), - ("grease_pencil.cyclical_set", {"type": 'C', "value": 'PRESS', "alt": True}, {"properties": [("type", "TOGGLE")]}), + ("grease_pencil.cyclical_set", {"type": 'C', "value": 'PRESS', + "alt": True}, {"properties": [("type", "TOGGLE")]}), ]) return keymap diff --git a/scripts/startup/bl_ui/properties_material.py b/scripts/startup/bl_ui/properties_material.py index 14a56d1b4b9..fb6957b2e37 100644 --- a/scripts/startup/bl_ui/properties_material.py +++ b/scripts/startup/bl_ui/properties_material.py @@ -299,8 +299,8 @@ class EEVEE_NEXT_MATERIAL_PT_settings_surface(MaterialButtonsPanel, Panel): col.prop(mat, "use_backface_culling", text="Camera") col.prop(mat, "use_backface_culling_shadow", text="Shadow") - #TODO(fclem): Displacement option - #TODO(fclem): Transparent shadow option + # TODO(fclem): Displacement option + # TODO(fclem): Transparent shadow option col = layout.column() col.prop(mat, "surface_render_method", text="Render Method") diff --git a/scripts/startup/bl_ui/space_view3d.py b/scripts/startup/bl_ui/space_view3d.py index ae9a78fb750..2e03ab9c91d 100644 --- a/scripts/startup/bl_ui/space_view3d.py +++ b/scripts/startup/bl_ui/space_view3d.py @@ -5817,7 +5817,7 @@ class VIEW3D_MT_edit_greasepencil_stroke(Menu): layout.operator("grease_pencil.stroke_simplify") layout.separator() - + layout.operator_enum("grease_pencil.cyclical_set", "type")