mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Refactor: rename .../assets/remote_library_listing to remote_library
Rename `scripts/modules/_bpy_internal/assets/remote_library_listing/` to `.../remote_library/`. The Python module started out as code for the remote listing, but now has all the asset-related code (so also downloading the assets themselves). No functional changes. Pull Request: https://projects.blender.org/blender/blender/pulls/158651
This commit is contained in:
parent
597b9e7ef6
commit
98360c3e98
24 changed files with 33 additions and 33 deletions
|
|
@ -20,8 +20,8 @@ from pathlib import Path
|
|||
import bpy
|
||||
|
||||
from _bpy_internal.http import downloader as http_dl
|
||||
from _bpy_internal.assets.remote_library_listing.listing_downloader import RemoteAssetListingLocator
|
||||
from _bpy_internal.assets.remote_library_listing import hashing
|
||||
from _bpy_internal.assets.remote_library.listing_downloader import RemoteAssetListingLocator
|
||||
from _bpy_internal.assets.remote_library import hashing
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
|
@ -7,7 +7,7 @@ import typing
|
|||
from pathlib import Path
|
||||
|
||||
if typing.TYPE_CHECKING:
|
||||
from _bpy_internal.assets.remote_library_listing.blender_asset_library_openapi import URLWithHash as _URLWithHash
|
||||
from _bpy_internal.assets.remote_library.blender_asset_library_openapi import URLWithHash as _URLWithHash
|
||||
else:
|
||||
_URLWithHash = object
|
||||
|
||||
|
|
@ -29,12 +29,12 @@ else:
|
|||
import bpy
|
||||
|
||||
from _bpy_internal.http import downloader as http_dl
|
||||
from _bpy_internal.assets.remote_library_listing import blender_asset_library_openapi as api_models
|
||||
from _bpy_internal.assets.remote_library_listing import listing_common
|
||||
from _bpy_internal.assets.remote_library_listing import hashing
|
||||
from _bpy_internal.assets.remote_library_listing import http_metadata
|
||||
from _bpy_internal.assets.remote_library_listing import listing_asset_catalogs
|
||||
from _bpy_internal.assets.remote_library_listing import json_parsing
|
||||
from _bpy_internal.assets.remote_library import blender_asset_library_openapi as api_models
|
||||
from _bpy_internal.assets.remote_library import listing_common
|
||||
from _bpy_internal.assets.remote_library import hashing
|
||||
from _bpy_internal.assets.remote_library import http_metadata
|
||||
from _bpy_internal.assets.remote_library import listing_asset_catalogs
|
||||
from _bpy_internal.assets.remote_library import json_parsing
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue