prproj gzip to LFS
originally 10/29/2025 @ 7:29 PM, commit SHA 1ed427d0b2ad74f550ab2ade0fdaee143a06e137. Committing from the synology NAS adds all the @eaDir folders, which should never be in upstream. I should have checked these changes. It also added a ton of changes to binaries that technically weren't made due to the fact that this repo began without LFS, which was fixed via `git lfs migrate import`.
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
|
||||
# Don't index SpecStory auto-save files, but allow explicit context inclusion via @ references
|
||||
.specstory/**
|
||||
|
||||
# Don't index SpecStory auto-save files, but allow explicit context inclusion via @ references
|
||||
.specstory/**
|
||||
|
||||
@@ -5,3 +5,12 @@
|
||||
*.hdr filter=lfs diff=lfs merge=lfs -text
|
||||
*.blend filter=lfs diff=lfs merge=lfs -text
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.cursorindexingignore filter=lfs diff=lfs merge=lfs -text
|
||||
*.gitignore filter=lfs diff=lfs merge=lfs -text
|
||||
*.md filter=lfs diff=lfs merge=lfs -text
|
||||
*.prproj filter=lfs diff=lfs merge=lfs -text
|
||||
*.py filter=lfs diff=lfs merge=lfs -text
|
||||
*.gitignore !text !filter !merge !diff
|
||||
*.cursorindexingignore !text !filter !merge !diff
|
||||
*.md !text !filter !merge !diff
|
||||
*.py !text !filter !merge !diff
|
||||
|
||||
+130
-98
@@ -1,98 +1,130 @@
|
||||
# Blender Studio Git Management - .gitignore
|
||||
|
||||
# Blender auto-save files
|
||||
*.blend1
|
||||
*.blend2
|
||||
*.blend3
|
||||
*.blend4
|
||||
*.blend5
|
||||
*.blend6
|
||||
*.blend7
|
||||
*.blend8
|
||||
*.blend9
|
||||
|
||||
# Blender cache and temporary files
|
||||
*.swp
|
||||
*.swo
|
||||
*~
|
||||
*.tmp
|
||||
*.temp
|
||||
|
||||
# Blender internal cache files
|
||||
*.bpy
|
||||
*.bmesh
|
||||
*.bvh
|
||||
*.bobj
|
||||
*.bphys
|
||||
|
||||
# OS generated files
|
||||
.DS_Store
|
||||
.DS_Store?
|
||||
._*
|
||||
.Spotlight-V100
|
||||
.Trashes
|
||||
ehthumbs.db
|
||||
Thumbs.db
|
||||
desktop.ini
|
||||
|
||||
# Editor files
|
||||
.vscode/
|
||||
.idea/
|
||||
*.swp
|
||||
*.swo
|
||||
*~
|
||||
|
||||
# Large media files (uncomment if you want to exclude rendered outputs)
|
||||
# *.mp4
|
||||
# *.avi
|
||||
# *.mov
|
||||
# *.png
|
||||
# *.jpg
|
||||
# *.jpeg
|
||||
# *.exr
|
||||
# *.hdr
|
||||
# *.tiff
|
||||
# *.tga
|
||||
|
||||
# Audio files (uncomment if excluding)
|
||||
# *.wav
|
||||
# *.mp3
|
||||
# *.aac
|
||||
# *.ogg
|
||||
|
||||
# Archive files
|
||||
*.zip
|
||||
*.rar
|
||||
*.7z
|
||||
*.tar.gz
|
||||
|
||||
# Log files
|
||||
*.log
|
||||
*.txt
|
||||
|
||||
# Python cache
|
||||
__pycache__/
|
||||
*.pyc
|
||||
*.pyo
|
||||
*.pyd
|
||||
.Python
|
||||
|
||||
# Node modules (if using any web tools)
|
||||
node_modules/
|
||||
|
||||
# Environment files
|
||||
.env
|
||||
.env.local
|
||||
.env.development.local
|
||||
.env.test.local
|
||||
.env.production.local
|
||||
|
||||
# Backup files
|
||||
*.bak
|
||||
*.backup
|
||||
*.old
|
||||
|
||||
# Temporary files
|
||||
temp/
|
||||
tmp/
|
||||
cache/
|
||||
# Blender Studio Git Management - .gitignore
|
||||
|
||||
# Blender auto-save files
|
||||
*.blend1
|
||||
*.blend2
|
||||
*.blend3
|
||||
*.blend4
|
||||
*.blend5
|
||||
*.blend6
|
||||
*.blend7
|
||||
*.blend8
|
||||
*.blend9
|
||||
|
||||
# Blender cache and temporary files
|
||||
*.swp
|
||||
*.swo
|
||||
*~
|
||||
*.tmp
|
||||
*.temp
|
||||
|
||||
# Blender internal cache files
|
||||
*.bpy
|
||||
*.bmesh
|
||||
*.bvh
|
||||
*.bobj
|
||||
*.bphys
|
||||
|
||||
# OS generated files
|
||||
.DS_Store
|
||||
.DS_Store?
|
||||
._*
|
||||
.Spotlight-V100
|
||||
.Trashes
|
||||
ehthumbs.db
|
||||
Thumbs.db
|
||||
desktop.ini
|
||||
|
||||
# Editor files
|
||||
.vscode/
|
||||
.idea/
|
||||
*.swp
|
||||
*.swo
|
||||
*~
|
||||
|
||||
# Large media files (uncomment if you want to exclude rendered outputs)
|
||||
# *.mp4
|
||||
# *.avi
|
||||
# *.mov
|
||||
# *.png
|
||||
# *.jpg
|
||||
# *.jpeg
|
||||
# *.exr
|
||||
# *.hdr
|
||||
# *.tiff
|
||||
# *.tga
|
||||
|
||||
# Audio files (uncomment if excluding)
|
||||
# *.wav
|
||||
# *.mp3
|
||||
# *.aac
|
||||
# *.ogg
|
||||
|
||||
# Archive files
|
||||
*.zip
|
||||
*.rar
|
||||
*.7z
|
||||
*.tar.gz
|
||||
|
||||
# Log files
|
||||
*.log
|
||||
*.txt
|
||||
|
||||
# Python cache
|
||||
__pycache__/
|
||||
*.pyc
|
||||
*.pyo
|
||||
*.pyd
|
||||
.Python
|
||||
|
||||
# Node modules (if using any web tools)
|
||||
node_modules/
|
||||
|
||||
# Environment files
|
||||
.env
|
||||
.env.local
|
||||
.env.development.local
|
||||
.env.test.local
|
||||
.env.production.local
|
||||
|
||||
# Backup files
|
||||
*.bak
|
||||
*.backup
|
||||
*.old
|
||||
|
||||
# Temporary files
|
||||
temp/
|
||||
tmp/
|
||||
cache/
|
||||
*.blend10
|
||||
*.blend11
|
||||
*.blend12
|
||||
*.blend13
|
||||
*.blend14
|
||||
*.blend15
|
||||
*.blend16
|
||||
*.blend17
|
||||
*.blend18
|
||||
*.blend19
|
||||
*.blend20
|
||||
*.blend21
|
||||
*.blend22
|
||||
*.blend23
|
||||
*.blend24
|
||||
*.blend25
|
||||
*.blend26
|
||||
*.blend27
|
||||
*.blend28
|
||||
*.blend29
|
||||
*.blend30
|
||||
*.blend31
|
||||
*.blend32
|
||||
# image sequences
|
||||
seq/
|
||||
Renders/
|
||||
# Premiere
|
||||
*.prlock
|
||||
Adobe Premiere Pro Video Previews/
|
||||
Adobe Premiere Pro Audio Previews/
|
||||
Adobe Premiere Pro (Beta) Video Previews/
|
||||
Adobe Premiere Pro (Beta) Audio Previews/
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
# SpecStory explanation file
|
||||
/.what-is-this.md
|
||||
# SpecStory explanation file
|
||||
/.what-is-this.md
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
@@ -1,83 +1,83 @@
|
||||
import bpy
|
||||
import os
|
||||
import re
|
||||
|
||||
def relocate_libraries():
|
||||
"""
|
||||
Relocate linked library files from Synology Drive to NAS storage.
|
||||
Changes paths from C:\\Users\\Nathan\\SynologyDrive\\ to R:\\
|
||||
"""
|
||||
|
||||
# Define the path mappings
|
||||
old_base = r"C:\Users\Nathan\SynologyDrive"
|
||||
new_base = r"R:"
|
||||
|
||||
# Track changes
|
||||
changed_files = []
|
||||
failed_files = []
|
||||
|
||||
print("=== Library Relocation Script ===")
|
||||
print(f"Mapping: {old_base} → {new_base}")
|
||||
print()
|
||||
|
||||
# Process all library files
|
||||
for lib in bpy.data.libraries:
|
||||
if lib.filepath:
|
||||
old_path = lib.filepath
|
||||
|
||||
# Check if this is a Synology Drive path
|
||||
if old_base in old_path:
|
||||
# Create new path
|
||||
new_path = old_path.replace(old_base, new_base)
|
||||
|
||||
# Verify the new file exists
|
||||
if os.path.exists(new_path):
|
||||
try:
|
||||
# Update the library path
|
||||
lib.filepath = new_path
|
||||
changed_files.append((old_path, new_path))
|
||||
print(f"✓ Relocated: {os.path.basename(old_path)}")
|
||||
print(f" {old_path}")
|
||||
print(f" → {new_path}")
|
||||
print()
|
||||
except Exception as e:
|
||||
failed_files.append((old_path, str(e)))
|
||||
print(f"✗ Failed to relocate: {os.path.basename(old_path)}")
|
||||
print(f" Error: {e}")
|
||||
print()
|
||||
else:
|
||||
failed_files.append((old_path, "Target file not found"))
|
||||
print(f"✗ Target not found: {new_path}")
|
||||
print()
|
||||
else:
|
||||
print(f"ℹ Skipped (not Synology Drive): {old_path}")
|
||||
print()
|
||||
|
||||
# Summary
|
||||
print("=== Summary ===")
|
||||
print(f"Successfully relocated: {len(changed_files)} files")
|
||||
print(f"Failed to relocate: {len(failed_files)} files")
|
||||
|
||||
if changed_files:
|
||||
print("\nRelocated files:")
|
||||
for old, new in changed_files:
|
||||
print(f" {os.path.basename(old)}")
|
||||
|
||||
if failed_files:
|
||||
print("\nFailed files:")
|
||||
for old, reason in failed_files:
|
||||
print(f" {os.path.basename(old)}: {reason}")
|
||||
|
||||
return len(changed_files), len(failed_files)
|
||||
|
||||
# Run the script
|
||||
if __name__ == "__main__":
|
||||
success_count, fail_count = relocate_libraries()
|
||||
|
||||
if success_count > 0:
|
||||
print(f"\n✅ Successfully relocated {success_count} library files!")
|
||||
print("You may need to save your .blend file to preserve these changes.")
|
||||
|
||||
if fail_count > 0:
|
||||
print(f"\n⚠️ {fail_count} files failed to relocate.")
|
||||
import bpy
|
||||
import os
|
||||
import re
|
||||
|
||||
def relocate_libraries():
|
||||
"""
|
||||
Relocate linked library files from Synology Drive to NAS storage.
|
||||
Changes paths from C:\\Users\\Nathan\\SynologyDrive\\ to R:\\
|
||||
"""
|
||||
|
||||
# Define the path mappings
|
||||
old_base = r"C:\Users\Nathan\SynologyDrive"
|
||||
new_base = r"R:"
|
||||
|
||||
# Track changes
|
||||
changed_files = []
|
||||
failed_files = []
|
||||
|
||||
print("=== Library Relocation Script ===")
|
||||
print(f"Mapping: {old_base} → {new_base}")
|
||||
print()
|
||||
|
||||
# Process all library files
|
||||
for lib in bpy.data.libraries:
|
||||
if lib.filepath:
|
||||
old_path = lib.filepath
|
||||
|
||||
# Check if this is a Synology Drive path
|
||||
if old_base in old_path:
|
||||
# Create new path
|
||||
new_path = old_path.replace(old_base, new_base)
|
||||
|
||||
# Verify the new file exists
|
||||
if os.path.exists(new_path):
|
||||
try:
|
||||
# Update the library path
|
||||
lib.filepath = new_path
|
||||
changed_files.append((old_path, new_path))
|
||||
print(f"✓ Relocated: {os.path.basename(old_path)}")
|
||||
print(f" {old_path}")
|
||||
print(f" → {new_path}")
|
||||
print()
|
||||
except Exception as e:
|
||||
failed_files.append((old_path, str(e)))
|
||||
print(f"✗ Failed to relocate: {os.path.basename(old_path)}")
|
||||
print(f" Error: {e}")
|
||||
print()
|
||||
else:
|
||||
failed_files.append((old_path, "Target file not found"))
|
||||
print(f"✗ Target not found: {new_path}")
|
||||
print()
|
||||
else:
|
||||
print(f"ℹ Skipped (not Synology Drive): {old_path}")
|
||||
print()
|
||||
|
||||
# Summary
|
||||
print("=== Summary ===")
|
||||
print(f"Successfully relocated: {len(changed_files)} files")
|
||||
print(f"Failed to relocate: {len(failed_files)} files")
|
||||
|
||||
if changed_files:
|
||||
print("\nRelocated files:")
|
||||
for old, new in changed_files:
|
||||
print(f" {os.path.basename(old)}")
|
||||
|
||||
if failed_files:
|
||||
print("\nFailed files:")
|
||||
for old, reason in failed_files:
|
||||
print(f" {os.path.basename(old)}: {reason}")
|
||||
|
||||
return len(changed_files), len(failed_files)
|
||||
|
||||
# Run the script
|
||||
if __name__ == "__main__":
|
||||
success_count, fail_count = relocate_libraries()
|
||||
|
||||
if success_count > 0:
|
||||
print(f"\n✅ Successfully relocated {success_count} library files!")
|
||||
print("You may need to save your .blend file to preserve these changes.")
|
||||
|
||||
if fail_count > 0:
|
||||
print(f"\n⚠️ {fail_count} files failed to relocate.")
|
||||
print("Check that the NAS paths exist and are accessible.")
|
||||
Reference in New Issue
Block a user