mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
debugging
This commit is contained in:
parent
36ce07c85e
commit
d179bae321
1 changed files with 3 additions and 3 deletions
|
|
@ -92,7 +92,7 @@ class FtrackComponentCreator:
|
|||
|
||||
|
||||
def generate_temp_data(self, selection, temp_folder, change_preset_data):
|
||||
print(">>>>> self.temp_dir: " + self.temp_dir)
|
||||
print(">>>>> self.temp_dir: " + str(self.temp_dir))
|
||||
print(">>>>> self.thumbnails: " + str(self.thumbnails))
|
||||
print(">>>>> self.videos: " + str(self.videos))
|
||||
|
||||
|
|
@ -110,12 +110,12 @@ class FtrackComponentCreator:
|
|||
self.temp_dir = tempdir_path
|
||||
return tempdir_path
|
||||
|
||||
def get_thumb_path(shot_name):
|
||||
def get_thumb_path(self, shot_name):
|
||||
# get component files
|
||||
thumb_f = next((f for f in self.thumbnails if shot_name in f), None)
|
||||
return os.path.join(self.temp_dir, thumb_f)
|
||||
|
||||
def get_video_path(shot_name):
|
||||
def get_video_path(self, shot_name):
|
||||
# get component files
|
||||
video_f = next((f for f in self.videos if shot_name in f), None)
|
||||
return os.path.join(self.temp_dir, video_f)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue