2025-12-01
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
# SPDX-FileCopyrightText: 2025 Blender Studio Tools Authors
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
from bpy.types import AddonPreferences
|
||||
from bpy.props import BoolProperty
|
||||
|
||||
class AnimCupboardPreferences(AddonPreferences):
|
||||
bl_idname = __package__
|
||||
|
||||
warn_about_absolute_libs: BoolProperty(
|
||||
name = "Warn About Libraries",
|
||||
description = "On file save, create a pop-up if there are any absolute path or broken libraries in the blend file",
|
||||
default = True
|
||||
)
|
||||
|
||||
def draw(self, context):
|
||||
layout = self.layout
|
||||
layout.prop(self, 'warn_about_absolute_libs')
|
||||
|
||||
registry = [
|
||||
AnimCupboardPreferences
|
||||
]
|
||||
Reference in New Issue
Block a user