1
0
mirror of https://github.com/DarklightGames/io_scene_psk_psa.git synced 2024-11-27 16:10:48 +01:00

Resolved metaclass conflict in PSA_UL_sequences

This was breaking the  'Add Theme Preset'  button in Blender's preferences, this small change fixes that
This commit is contained in:
Taco 2024-06-05 19:52:35 -04:00 committed by GitHub
parent a47b4a1e04
commit 447687b588
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4,7 +4,7 @@ from bpy.types import UIList
from .properties import filter_sequences
class PSA_UL_sequences(UIList):
class PSA_UL_sequences_mixIn(UIList):
def draw_item(self, context, layout, data, item, icon, active_data, active_property, index, flt_flag):
row = layout.row(align=True)
split = row.split(align=True, factor=0.75)
@ -30,11 +30,15 @@ class PSA_UL_sequences(UIList):
return flt_flags, flt_neworder
class PSA_UL_import_sequences(PSA_UL_sequences, UIList):
class PSA_UL_sequences(PSA_UL_sequences_mixIn):
pass
class PSA_UL_import_actions(PSA_UL_sequences, UIList):
class PSA_UL_import_sequences(PSA_UL_sequences_mixIn):
pass
class PSA_UL_import_actions(PSA_UL_sequences_mixIn):
pass