Compare commits
14 Commits
version-1.
...
version-1.
Author | SHA1 | Date | |
---|---|---|---|
2fbb5ac788 | |||
b47b407589 | |||
a136366804 | |||
6718e1646f | |||
9d7f9a979e | |||
326a793de0 | |||
88ccb0f376 | |||
5b8895278a | |||
eb37d20039 | |||
4f49e8ca0b | |||
c931700fec | |||
6285826bfc | |||
25150397c0 | |||
c67b161e3d |
22
CHANGELOG.md
22
CHANGELOG.md
@@ -1,6 +1,28 @@
|
|||||||
# Blender Cloud changelog
|
# Blender Cloud changelog
|
||||||
|
|
||||||
|
|
||||||
|
## Version 1.24 (2022-02-04)
|
||||||
|
|
||||||
|
- Bump blender-asset-tracer version 1.8 → 1.10, for fixing a bug where files were doubly-compressed.
|
||||||
|
|
||||||
|
|
||||||
|
## Version 1.23 (2021-11-09)
|
||||||
|
|
||||||
|
- Bump blender-asset-tracer version 1.7 → 1.8, for compatibility with sending read-only blend files to Flamenco.
|
||||||
|
|
||||||
|
|
||||||
|
## Version 1.22 (2021-11-05)
|
||||||
|
|
||||||
|
- Fix Windows incompatibility when using Shaman URLs as job storage path.
|
||||||
|
- Bump blender-asset-tracer version 1.6 → 1.7, for compatibility with files compressed by Blender 3.0.
|
||||||
|
|
||||||
|
|
||||||
|
## Version 1.21 (2021-07-27)
|
||||||
|
|
||||||
|
- Bump blender-asset-tracer version 1.5.1 → 1.6, for better compatibility with Geometry Nodes.
|
||||||
|
|
||||||
## Version 1.20 (2021-07-22)
|
## Version 1.20 (2021-07-22)
|
||||||
|
|
||||||
- Bump blender-asset-tracer version 1.3.1 -> 1.5.1.
|
- Bump blender-asset-tracer version 1.3.1 -> 1.5.1.
|
||||||
- Blender-asset-tracer "Strict Pointer Mode" disabled, to avoid issues with
|
- Blender-asset-tracer "Strict Pointer Mode" disabled, to avoid issues with
|
||||||
not-entirely-synced library overrides.
|
not-entirely-synced library overrides.
|
||||||
|
@@ -21,7 +21,7 @@
|
|||||||
bl_info = {
|
bl_info = {
|
||||||
"name": "Blender Cloud",
|
"name": "Blender Cloud",
|
||||||
"author": "Sybren A. Stüvel, Francesco Siddi, Inês Almeida, Antony Riakiotakis",
|
"author": "Sybren A. Stüvel, Francesco Siddi, Inês Almeida, Antony Riakiotakis",
|
||||||
"version": (1, 20),
|
"version": (1, 24),
|
||||||
"blender": (2, 80, 0),
|
"blender": (2, 80, 0),
|
||||||
"location": "Addon Preferences panel, and Ctrl+Shift+Alt+A anywhere for texture browser",
|
"location": "Addon Preferences panel, and Ctrl+Shift+Alt+A anywhere for texture browser",
|
||||||
"description": "Texture library browser and Blender Sync. Requires the Blender ID addon "
|
"description": "Texture library browser and Blender Sync. Requires the Blender ID addon "
|
||||||
|
@@ -668,6 +668,8 @@ class ATTRACT_OT_open_meta_blendfile(AttractOperatorMixin, Operator):
|
|||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def poll(cls, context):
|
def poll(cls, context):
|
||||||
|
if context.selected_sequences is None:
|
||||||
|
return False
|
||||||
return bool(
|
return bool(
|
||||||
any(cls.filename_from_metadata(s) for s in context.selected_sequences)
|
any(cls.filename_from_metadata(s) for s in context.selected_sequences)
|
||||||
)
|
)
|
||||||
|
@@ -42,11 +42,10 @@ else:
|
|||||||
from .. import blender
|
from .. import blender
|
||||||
|
|
||||||
import bpy
|
import bpy
|
||||||
from bpy.types import AddonPreferences, Operator, WindowManager, Scene, PropertyGroup
|
from bpy.types import Operator, PropertyGroup
|
||||||
from bpy.props import (
|
from bpy.props import (
|
||||||
StringProperty,
|
StringProperty,
|
||||||
EnumProperty,
|
EnumProperty,
|
||||||
PointerProperty,
|
|
||||||
BoolProperty,
|
BoolProperty,
|
||||||
IntProperty,
|
IntProperty,
|
||||||
)
|
)
|
||||||
@@ -271,7 +270,7 @@ def is_file_inside_job_storage(prefs, current_file: typing.Union[str, Path]) ->
|
|||||||
|
|
||||||
if isinstance(current_file, str):
|
if isinstance(current_file, str):
|
||||||
# Shaman URLs are always remote, so the current file cannot be in there.
|
# Shaman URLs are always remote, so the current file cannot be in there.
|
||||||
if is_shaman_url(current_file):
|
if is_shaman_url(prefs.flamenco_job_file_path):
|
||||||
return False
|
return False
|
||||||
current_file = Path(current_file)
|
current_file = Path(current_file)
|
||||||
|
|
||||||
@@ -955,7 +954,7 @@ async def create_job(
|
|||||||
*,
|
*,
|
||||||
priority: int = 50,
|
priority: int = 50,
|
||||||
job_description: str = None,
|
job_description: str = None,
|
||||||
start_paused=False
|
start_paused=False,
|
||||||
) -> dict:
|
) -> dict:
|
||||||
"""Creates a render job at Flamenco Server, returning the job object as dictionary."""
|
"""Creates a render job at Flamenco Server, returning the job object as dictionary."""
|
||||||
|
|
||||||
@@ -1008,7 +1007,7 @@ def _render_output_path(
|
|||||||
render_image_format: str,
|
render_image_format: str,
|
||||||
flamenco_render_frame_range: str,
|
flamenco_render_frame_range: str,
|
||||||
*,
|
*,
|
||||||
include_rel_path: bool = True
|
include_rel_path: bool = True,
|
||||||
) -> typing.Optional[PurePath]:
|
) -> typing.Optional[PurePath]:
|
||||||
"""Cached version of render_output_path()
|
"""Cached version of render_output_path()
|
||||||
|
|
||||||
|
@@ -58,8 +58,12 @@ def wheel_filename(fname_prefix: str) -> str:
|
|||||||
if not wheels:
|
if not wheels:
|
||||||
raise RuntimeError("Unable to find wheel at %r" % path_pattern)
|
raise RuntimeError("Unable to find wheel at %r" % path_pattern)
|
||||||
|
|
||||||
# If there are multiple wheels that match, load the latest one.
|
# If there are multiple wheels that match, load the last-modified one.
|
||||||
wheels.sort()
|
# Alphabetical sorting isn't going to cut it since BAT 1.10 was released.
|
||||||
|
def modtime(filename: str) -> int:
|
||||||
|
return os.stat(filename).st_mtime
|
||||||
|
|
||||||
|
wheels.sort(key=modtime)
|
||||||
return wheels[-1]
|
return wheels[-1]
|
||||||
|
|
||||||
|
|
||||||
@@ -68,3 +72,8 @@ def load_wheels():
|
|||||||
load_wheel("lockfile", "lockfile")
|
load_wheel("lockfile", "lockfile")
|
||||||
load_wheel("cachecontrol", "CacheControl")
|
load_wheel("cachecontrol", "CacheControl")
|
||||||
load_wheel("pillarsdk", "pillarsdk")
|
load_wheel("pillarsdk", "pillarsdk")
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
wheel = wheel_filename("blender_asset_tracer")
|
||||||
|
print(f"Wheel: {wheel}")
|
||||||
|
@@ -3,7 +3,7 @@
|
|||||||
lockfile==0.12.2
|
lockfile==0.12.2
|
||||||
pillarsdk==1.8.0
|
pillarsdk==1.8.0
|
||||||
wheel==0.29.0
|
wheel==0.29.0
|
||||||
blender-asset-tracer==1.5.1
|
blender-asset-tracer==1.10
|
||||||
|
|
||||||
# Secondary requirements:
|
# Secondary requirements:
|
||||||
asn1crypto==0.24.0
|
asn1crypto==0.24.0
|
||||||
|
2
setup.py
2
setup.py
@@ -250,7 +250,7 @@ setup(
|
|||||||
},
|
},
|
||||||
name="blender_cloud",
|
name="blender_cloud",
|
||||||
description="The Blender Cloud addon allows browsing the Blender Cloud from Blender.",
|
description="The Blender Cloud addon allows browsing the Blender Cloud from Blender.",
|
||||||
version="1.20",
|
version="1.24",
|
||||||
author="Sybren A. Stüvel",
|
author="Sybren A. Stüvel",
|
||||||
author_email="sybren@stuvel.eu",
|
author_email="sybren@stuvel.eu",
|
||||||
packages=find_packages("."),
|
packages=find_packages("."),
|
||||||
|
Reference in New Issue
Block a user