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:
parent
a47b4a1e04
commit
447687b588
@ -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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user