Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--release/scripts/startup/bl_ui/properties_object.py2
-rw-r--r--release/scripts/startup/bl_ui/properties_render.py10
-rw-r--r--release/scripts/startup/bl_ui/space_view3d.py1
3 files changed, 5 insertions, 8 deletions
diff --git a/release/scripts/startup/bl_ui/properties_object.py b/release/scripts/startup/bl_ui/properties_object.py
index 17b4876c7f3..8d4112ad456 100644
--- a/release/scripts/startup/bl_ui/properties_object.py
+++ b/release/scripts/startup/bl_ui/properties_object.py
@@ -258,7 +258,6 @@ class OBJECT_PT_display(ObjectButtonsPanel, Panel):
# if obj_type == 'MESH' or is_empty_image:
# col.prop(obj, "show_transparent", text="Transparency")
-
flow = layout.grid_flow(row_major=True, columns=0, even_columns=True, even_rows=False, align=False)
col = flow.column()
@@ -273,7 +272,6 @@ class OBJECT_PT_display(ObjectButtonsPanel, Panel):
row.active = obj.show_bounds or (obj.draw_type == 'BOUNDS')
row.prop(obj, "draw_bounds_type", text="")
-
if is_geometry or is_empty_image:
# Only useful with object having faces/materials...
col = flow.column()
diff --git a/release/scripts/startup/bl_ui/properties_render.py b/release/scripts/startup/bl_ui/properties_render.py
index 64634d76d13..38b73b0397a 100644
--- a/release/scripts/startup/bl_ui/properties_render.py
+++ b/release/scripts/startup/bl_ui/properties_render.py
@@ -218,7 +218,6 @@ class RENDER_PT_stamp(RenderButtonsPanel, Panel):
flow = layout.grid_flow(row_major=True, columns=0, even_columns=True, even_rows=False, align=False)
-
col = flow.column()
col.prop(rd, "use_stamp_date", text="Date")
col = flow.column()
@@ -238,7 +237,6 @@ class RENDER_PT_stamp(RenderButtonsPanel, Panel):
col = flow.column()
col.prop(rd, "use_stamp_lens", text="Lens")
-
col = flow.column()
col.prop(rd, "use_stamp_scene", text="Scene")
col = flow.column()
@@ -341,7 +339,7 @@ class RENDER_PT_output_views(RenderButtonsPanel, Panel):
class RENDER_PT_encoding(RenderButtonsPanel, Panel):
bl_label = "Encoding"
- bl_parent_id ="RENDER_PT_output"
+ bl_parent_id = "RENDER_PT_output"
bl_options = {'DEFAULT_CLOSED'}
COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_EEVEE', 'BLENDER_OPENGL'}
@@ -364,9 +362,10 @@ class RENDER_PT_encoding(RenderButtonsPanel, Panel):
layout.prop(rd.ffmpeg, "format")
layout.prop(ffmpeg, "use_autosplit")
+
class RENDER_PT_encoding_video(RenderButtonsPanel, Panel):
bl_label = "Video"
- bl_parent_id ="RENDER_PT_encoding"
+ bl_parent_id = "RENDER_PT_encoding"
COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_EEVEE', 'BLENDER_OPENGL'}
@classmethod
@@ -384,7 +383,6 @@ class RENDER_PT_encoding_video(RenderButtonsPanel, Panel):
self.draw_vcodec(context)
-
def draw_vcodec(self, context):
"""Video codec options."""
layout = self.layout
@@ -434,7 +432,7 @@ class RENDER_PT_encoding_video(RenderButtonsPanel, Panel):
class RENDER_PT_encoding_audio(RenderButtonsPanel, Panel):
bl_label = "Audio"
- bl_parent_id ="RENDER_PT_encoding"
+ bl_parent_id = "RENDER_PT_encoding"
COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_EEVEE', 'BLENDER_OPENGL'}
@classmethod
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py
index 4ded8e6f1e6..a320ff7ef24 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -5026,6 +5026,7 @@ class VIEW3D_MT_gpencil_sculpt_specials(Menu):
layout.separator()
layout.menu("VIEW3D_MT_gpencil_autoweights")
+
classes = (
VIEW3D_HT_header,
VIEW3D_MT_editor_menus,