Skip to content

Commit 385a8a8

Browse files
authored
Cannot load setup from Flow when you have custom named batch Reels (#155)
The default import destination reel could not be "Schematic Reel 1" because we can now rename the default batch reels from the Flame preferences. Use directly the first reel instead for the default. The user can still change it with the envvar JIRA: FLME-70327
1 parent 445c459 commit 385a8a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hooks/tk-multi-loader2/flame_loader_actions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ def import_location(self):
374374
:rtype: str
375375
"""
376376

377-
return os.environ.get("SHOTGUN_FLAME_IMPORT_LOCATION", "Schematic Reel 1")
377+
return os.environ.get("SHOTGUN_FLAME_IMPORT_LOCATION", flame.batch.reels[0].name.get_value())
378378

379379
@property
380380
def want_write_file_node(self):

0 commit comments

Comments
 (0)