mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Fix T88670: Load Previous Settings does not copy symlinks
The same code existed in 2.82 and earlier so this should be safe. Removing the
custom implementation of shutil.copytree in f34d5d9 did not correctly add back
the option to copy symlinks.
This commit is contained in:
parent
2161840d07
commit
46a14bd6a3
1 changed files with 1 additions and 1 deletions
|
|
@ -144,7 +144,7 @@ class PREFERENCES_OT_copy_prev(Operator):
|
|||
|
||||
def execute(self, _context):
|
||||
import shutil
|
||||
shutil.copytree(self._old_path(), self._new_path(), dirs_exist_ok=True)
|
||||
shutil.copytree(self._old_path(), self._new_path(), dirs_exist_ok=True, symlinks=True)
|
||||
|
||||
# reload preferences and recent-files.txt
|
||||
bpy.ops.wm.read_userpref()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue