@@ -269,7 +269,7 @@ def new(self):
269
269
self .has_unsaved_changes = False
270
270
271
271
# Reset info paths
272
- info .THUMBNAIL_PATH = os .path .join (info .USER_PATH , "thumbnail" )
272
+ info .THUMBNAIL_PATH = os .path .join (info .USER_PATH , "thumbnail" )
273
273
info .TITLE_PATH = os .path .join (info .USER_PATH , "title" )
274
274
info .BLENDER_PATH = os .path .join (info .USER_PATH , "blender" )
275
275
@@ -835,8 +835,8 @@ def move_temp_paths_to_project_folder(self, file_path, previous_path=None):
835
835
for file in self ._data ["files" ]:
836
836
path = file ["path" ]
837
837
838
- # No longer store thumbnail image
839
- file ["image" ] = ""
838
+ # For now, store thumbnail path for backwards compatibility
839
+ file ["image" ] = os . path . join ( target_thumb_path , "{}.png" . format ( file [ "id" ]))
840
840
841
841
# Assets which need to be copied
842
842
new_asset_path = None
@@ -872,8 +872,8 @@ def move_temp_paths_to_project_folder(self, file_path, previous_path=None):
872
872
for clip in self ._data ["clips" ]:
873
873
file_id = clip ["file_id" ]
874
874
875
- # No longer store thumbnail image
876
- clip ["image" ] = ""
875
+ # For now, store thumbnail path for backwards compatibility
876
+ clip ["image" ] = os . path . join ( target_thumb_path , "{}.png" . format ( file_id ))
877
877
878
878
log .info ("Checking clip {} path for file {}" .format (clip ["id" ], file_id ))
879
879
# Update paths to files stored in our working space or old path structure
0 commit comments