1
0
mirror of https://github.com/DarklightGames/io_scene_psk_psa.git synced 2024-11-23 22:40:59 +01:00

Merge pull request #95 from Blaco/fix-psa-import-metaclass

Resolved metaclass conflict in PSA_UL_sequences
This commit is contained in:
Colin Basnett 2024-06-06 19:23:32 -07:00 committed by GitHub
commit f664e7714b
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 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): def draw_item(self, context, layout, data, item, icon, active_data, active_property, index, flt_flag):
row = layout.row(align=True) row = layout.row(align=True)
split = row.split(align=True, factor=0.75) split = row.split(align=True, factor=0.75)
@ -30,11 +30,15 @@ class PSA_UL_sequences(UIList):
return flt_flags, flt_neworder return flt_flags, flt_neworder
class PSA_UL_import_sequences(PSA_UL_sequences, UIList): class PSA_UL_sequences(PSA_UL_sequences_mixIn):
pass 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 pass