Fixed a number of PEP warnings

Most of these are just assert statements to silence the warnings for accessing optionals
This commit is contained in:
Colin Basnett
2025-09-20 12:34:35 -07:00
parent 33e7862288
commit 240b79d374
11 changed files with 71 additions and 22 deletions

View File

@@ -15,6 +15,7 @@ class PSK_PT_material(Panel):
def draw(self, context):
layout = self.layout
assert layout is not None
layout.use_property_split = True
layout.use_property_decorate = False
material = context.material