forked from blender/blender
me-main #1
@ -485,7 +485,6 @@ class DATA_PT_customdata(MeshButtonsPanel, Panel):
|
||||
layout.use_property_split = True
|
||||
layout.use_property_decorate = False
|
||||
|
||||
obj = context.object
|
||||
me = context.mesh
|
||||
col = layout.column()
|
||||
|
||||
|
@ -62,7 +62,6 @@ class PARTICLE_MT_context_menu(Menu):
|
||||
def draw(self, context):
|
||||
layout = self.layout
|
||||
psys = context.particle_system
|
||||
experimental = context.preferences.experimental
|
||||
|
||||
props = layout.operator(
|
||||
"particle.copy_particle_systems",
|
||||
@ -508,7 +507,7 @@ class PARTICLE_PT_hair_dynamics_structure(ParticleButtonsPanel, Panel):
|
||||
sub.prop(psys.settings, "bending_random", text="Random")
|
||||
col.prop(cloth, "bending_damping", text="Damping")
|
||||
# XXX has no noticeable effect with stiff hair structure springs
|
||||
#col.prop(cloth, "spring_damping", text="Damping")
|
||||
# col.prop(cloth, "spring_damping", text="Damping")
|
||||
|
||||
|
||||
class PARTICLE_PT_hair_dynamics_volume(ParticleButtonsPanel, Panel):
|
||||
@ -1100,7 +1099,7 @@ class PARTICLE_PT_physics_relations(ParticleButtonsPanel, Panel):
|
||||
if part.physics_type == 'KEYED':
|
||||
col = layout.column()
|
||||
# doesn't work yet
|
||||
#col.alert = key.valid
|
||||
# col.alert = key.valid
|
||||
col.prop(key, "object")
|
||||
col.prop(key, "system", text="System")
|
||||
sub = col.column(align=True)
|
||||
@ -1110,7 +1109,7 @@ class PARTICLE_PT_physics_relations(ParticleButtonsPanel, Panel):
|
||||
elif part.physics_type == 'BOIDS':
|
||||
sub = layout.column()
|
||||
# doesn't work yet
|
||||
#sub.alert = key.valid
|
||||
# sub.alert = key.valid
|
||||
sub.prop(key, "object")
|
||||
sub.prop(key, "system", text="System")
|
||||
layout.prop(key, "alliance")
|
||||
@ -1157,7 +1156,7 @@ class PARTICLE_PT_physics_fluid_interaction(ParticleButtonsPanel, Panel):
|
||||
if key:
|
||||
sub = layout.column()
|
||||
# doesn't work yet
|
||||
#sub.alert = key.valid
|
||||
# sub.alert = key.valid
|
||||
sub.prop(key, "object")
|
||||
sub.prop(key, "system", text="System")
|
||||
|
||||
|
@ -641,7 +641,6 @@ class RENDER_PT_eevee_next_film(RenderButtonsPanel, Panel):
|
||||
|
||||
scene = context.scene
|
||||
rd = scene.render
|
||||
props = scene.eevee
|
||||
|
||||
col = layout.column()
|
||||
col.prop(rd, "filter_size")
|
||||
|
@ -6707,13 +6707,12 @@ class VIEW3D_PT_overlay_sculpt(Panel):
|
||||
def poll(cls, context):
|
||||
return (
|
||||
context.mode == 'SCULPT' and
|
||||
(context.sculpt_object and context.tool_settings.sculpt)
|
||||
context.sculpt_object
|
||||
)
|
||||
|
||||
def draw(self, context):
|
||||
layout = self.layout
|
||||
tool_settings = context.tool_settings
|
||||
sculpt = tool_settings.sculpt
|
||||
|
||||
view = context.space_data
|
||||
overlay = view.overlay
|
||||
|
@ -74,8 +74,6 @@ def test_lookup_coverage():
|
||||
print("----------------------------------")
|
||||
print("RNA Patterns Unknown to the Manual")
|
||||
|
||||
unknown_rna_list = []
|
||||
|
||||
for rna_group, rna_id in rna_ids():
|
||||
# Correct but slower & doesn't track usage.
|
||||
# url = wm.WM_OT_doc_view_manual._lookup_rna_url(rna_id, verbose=False)
|
||||
|
Loading…
Reference in New Issue
Block a user