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
|
|
@ -2,4 +2,4 @@
|
|||
#
|
||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
add_subdirectory(remote_library_listing)
|
||||
add_subdirectory(remote_library)
|
||||
|
|
|
|||
|
|
@ -6,11 +6,11 @@ import sys
|
|||
import unittest
|
||||
from pathlib import Path
|
||||
|
||||
from _bpy_internal.assets.remote_library_listing import listing_asset_catalogs
|
||||
from _bpy_internal.assets.remote_library_listing import blender_asset_library_openapi as api_models
|
||||
from _bpy_internal.assets.remote_library import listing_asset_catalogs
|
||||
from _bpy_internal.assets.remote_library import blender_asset_library_openapi as api_models
|
||||
|
||||
"""
|
||||
blender -b --factory-startup -P tests/python/assets/remote_library_listing/listing_asset_catalogs_test.py -- --outdir=/tmp
|
||||
blender -b --factory-startup -P tests/python/assets/remote_library/listing_asset_catalogs_test.py -- --outdir=/tmp
|
||||
"""
|
||||
|
||||
# CLI argument, will be set to its actual value in main() below.
|
||||
|
|
@ -6,13 +6,13 @@ import sys
|
|||
import unittest
|
||||
from pathlib import Path, PurePath, PurePosixPath, PureWindowsPath
|
||||
|
||||
from _bpy_internal.assets.remote_library_listing import json_parsing, listing_downloader
|
||||
from _bpy_internal.assets.remote_library_listing import blender_asset_library_openapi as api_models
|
||||
from _bpy_internal.assets.remote_library import json_parsing, listing_downloader
|
||||
from _bpy_internal.assets.remote_library import blender_asset_library_openapi as api_models
|
||||
|
||||
import bpy
|
||||
|
||||
"""
|
||||
blender -b --factory-startup -P tests/python/assets/remote_library_listing/listing_downloader_test.py -- --outdir=/tmp
|
||||
blender -b --factory-startup -P tests/python/assets/remote_library/listing_downloader_test.py -- --outdir=/tmp
|
||||
"""
|
||||
|
||||
# CLI argument, will be set to its actual value in main() below.
|
||||
|
|
@ -5,15 +5,15 @@
|
|||
import sys
|
||||
import unittest
|
||||
|
||||
from _bpy_internal.assets.remote_library_listing import json_parsing, hashing
|
||||
from _bpy_internal.assets.remote_library_listing import blender_asset_library_openapi as api_models
|
||||
from _bpy_internal.assets.remote_library_listing import cli_listing_generator_asset_finder as asset_finder
|
||||
from _bpy_internal.assets.remote_library import json_parsing, hashing
|
||||
from _bpy_internal.assets.remote_library import blender_asset_library_openapi as api_models
|
||||
from _bpy_internal.assets.remote_library import cli_listing_generator_asset_finder as asset_finder
|
||||
|
||||
import bpy
|
||||
|
||||
|
||||
"""
|
||||
blender -b --factory-startup --python tests/python/assets/remote_library_listing/listing_generator_test.py
|
||||
blender -b --factory-startup --python tests/python/assets/remote_library/listing_generator_test.py
|
||||
"""
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue