presets gui
This commit is contained in:
@@ -821,36 +821,6 @@ class TEXT_TEXTURE_OT_import_presets(Operator):
|
||||
layout.prop(self, "import_mode")
|
||||
layout.prop(self, "import_to_blend")
|
||||
|
||||
class TEXT_TEXTURE_OT_show_migration_report(Operator):
|
||||
pass
|
||||
"""Show migration report with backup and upgrade information"""
|
||||
bl_idname = "text_texture.show_migration_report"
|
||||
bl_label = "Show Migration Report"
|
||||
bl_description = "Display information about preset migration and backups"
|
||||
bl_options = {'REGISTER', 'UNDO'}
|
||||
|
||||
def execute(self, context):
|
||||
pass
|
||||
return {'FINISHED'}
|
||||
|
||||
def invoke(self, context, event):
|
||||
pass
|
||||
return context.window_manager.invoke_props_dialog(self, width=400)
|
||||
|
||||
def draw(self, context):
|
||||
pass
|
||||
layout = self.layout
|
||||
layout.label(text="Migration Report", icon='INFO')
|
||||
layout.separator()
|
||||
layout.label(text="This addon has been upgraded to the new preset system.")
|
||||
layout.label(text="Your existing presets have been preserved.")
|
||||
layout.separator()
|
||||
layout.label(text="Features:", icon='CHECKMARK')
|
||||
layout.label(text="• Presets saved in blend files")
|
||||
layout.label(text="• Cross-file preset sharing")
|
||||
layout.label(text="• Automatic backup system")
|
||||
layout.separator()
|
||||
|
||||
# Export all operator classes for wildcard imports
|
||||
__all__ = [
|
||||
'TEXT_TEXTURE_OT_save_preset',
|
||||
@@ -860,5 +830,4 @@ __all__ = [
|
||||
'TEXT_TEXTURE_OT_refresh_presets',
|
||||
'TEXT_TEXTURE_OT_export_presets',
|
||||
'TEXT_TEXTURE_OT_import_presets',
|
||||
'TEXT_TEXTURE_OT_show_migration_report',
|
||||
]
|
||||
Reference in New Issue
Block a user