Skip to content

Commit

Permalink
Return correct reference folder in find_or_add_folder function
Browse files Browse the repository at this point in the history
  • Loading branch information
tomek0055 committed Jan 3, 2024
1 parent 7e7a85e commit f0d8c14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/blender_gbx.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def find_or_add_folder( self, root_folder: FolderRef ) -> FolderRef :

current_ref_folder = current_ref_folder.subfolders[ path_part ]

return root_folder
return current_ref_folder

def archive( self, buffer: BytesIO, instance_index: int, folder_index: int ) :
nat32( buffer, 1 ) # flags
Expand Down

0 comments on commit f0d8c14

Please sign in to comment.