Cleanup: remove unused variables
This commit is contained in:
parent
ce44953933
commit
9f4edf8c2a
|
@ -485,7 +485,6 @@ class DATA_PT_customdata(MeshButtonsPanel, Panel):
|
||||||
layout.use_property_split = True
|
layout.use_property_split = True
|
||||||
layout.use_property_decorate = False
|
layout.use_property_decorate = False
|
||||||
|
|
||||||
obj = context.object
|
|
||||||
me = context.mesh
|
me = context.mesh
|
||||||
col = layout.column()
|
col = layout.column()
|
||||||
|
|
||||||
|
|
|
@ -62,7 +62,6 @@ class PARTICLE_MT_context_menu(Menu):
|
||||||
def draw(self, context):
|
def draw(self, context):
|
||||||
layout = self.layout
|
layout = self.layout
|
||||||
psys = context.particle_system
|
psys = context.particle_system
|
||||||
experimental = context.preferences.experimental
|
|
||||||
|
|
||||||
props = layout.operator(
|
props = layout.operator(
|
||||||
"particle.copy_particle_systems",
|
"particle.copy_particle_systems",
|
||||||
|
|
|
@ -641,7 +641,6 @@ class RENDER_PT_eevee_next_film(RenderButtonsPanel, Panel):
|
||||||
|
|
||||||
scene = context.scene
|
scene = context.scene
|
||||||
rd = scene.render
|
rd = scene.render
|
||||||
props = scene.eevee
|
|
||||||
|
|
||||||
col = layout.column()
|
col = layout.column()
|
||||||
col.prop(rd, "filter_size")
|
col.prop(rd, "filter_size")
|
||||||
|
|
|
@ -6707,13 +6707,12 @@ class VIEW3D_PT_overlay_sculpt(Panel):
|
||||||
def poll(cls, context):
|
def poll(cls, context):
|
||||||
return (
|
return (
|
||||||
context.mode == 'SCULPT' and
|
context.mode == 'SCULPT' and
|
||||||
(context.sculpt_object and context.tool_settings.sculpt)
|
context.sculpt_object
|
||||||
)
|
)
|
||||||
|
|
||||||
def draw(self, context):
|
def draw(self, context):
|
||||||
layout = self.layout
|
layout = self.layout
|
||||||
tool_settings = context.tool_settings
|
tool_settings = context.tool_settings
|
||||||
sculpt = tool_settings.sculpt
|
|
||||||
|
|
||||||
view = context.space_data
|
view = context.space_data
|
||||||
overlay = view.overlay
|
overlay = view.overlay
|
||||||
|
|
|
@ -74,8 +74,6 @@ def test_lookup_coverage():
|
||||||
print("----------------------------------")
|
print("----------------------------------")
|
||||||
print("RNA Patterns Unknown to the Manual")
|
print("RNA Patterns Unknown to the Manual")
|
||||||
|
|
||||||
unknown_rna_list = []
|
|
||||||
|
|
||||||
for rna_group, rna_id in rna_ids():
|
for rna_group, rna_id in rna_ids():
|
||||||
# Correct but slower & doesn't track usage.
|
# Correct but slower & doesn't track usage.
|
||||||
# url = wm.WM_OT_doc_view_manual._lookup_rna_url(rna_id, verbose=False)
|
# url = wm.WM_OT_doc_view_manual._lookup_rna_url(rna_id, verbose=False)
|
||||||
|
|
Loading…
Reference in New Issue