work: save startup because I'm sick of the arnoldesque materials
This commit is contained in:
@@ -65,6 +65,16 @@ class FlamencoPreferences(bpy.types.AddonPreferences):
|
||||
items=_project_finder_enum_items,
|
||||
)
|
||||
|
||||
bat_bypass: bpy.props.BoolProperty( # type: ignore
|
||||
name="Bypass BAT",
|
||||
description=(
|
||||
"When enabled, submission skips Blender Asset Tracer: paths in the blend "
|
||||
"are written as absolute, then the blend is uploaded or copied without a BAT pack. "
|
||||
"When disabled, Flamenco uses the normal BAT pack (Shaman or job storage)"
|
||||
),
|
||||
default=True,
|
||||
)
|
||||
|
||||
# Property that gets its value from the above _job_storage, and cannot be
|
||||
# set. This makes it read-only in the GUI.
|
||||
job_storage_for_gui: bpy.props.StringProperty( # type: ignore
|
||||
@@ -118,6 +128,10 @@ class FlamencoPreferences(bpy.types.AddonPreferences):
|
||||
else:
|
||||
text_row(col, str(project_root))
|
||||
|
||||
col = layout.column(align=True)
|
||||
col.label(text="Submission")
|
||||
col.prop(self, "bat_bypass")
|
||||
|
||||
def project_root(self) -> Path:
|
||||
"""Use the configured project finder to find the project root directory."""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user