Compare commits
5 Commits
version-1.
...
version-1.
Author | SHA1 | Date | |
---|---|---|---|
06126862d4 | |||
7b8713881e | |||
7c65851b75 | |||
ec72091268 | |||
cf7adb065f |
32
CHANGELOG.md
Normal file
32
CHANGELOG.md
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
# Blender Cloud changelog
|
||||||
|
|
||||||
|
## Version 1.6.3 (2017-03-21)
|
||||||
|
|
||||||
|
- Fixed bug where local project path wasn't shown for projects only set up for Flamenco
|
||||||
|
(and not Attract).
|
||||||
|
- Added this CHANGELOG.md file, which will contain user-relevant changes.
|
||||||
|
|
||||||
|
|
||||||
|
## Version 1.6.2 (2017-03-17)
|
||||||
|
|
||||||
|
- Flamenco: when opening non-existing file path, open parent instead - Sybren A. Stüvel
|
||||||
|
- Fix T50954: Improve Blender Cloud add-on project selector
|
||||||
|
|
||||||
|
|
||||||
|
## Version 1.6.1 (2017-03-07)
|
||||||
|
|
||||||
|
- Show error in GUI when Blender Cloud is unreachable
|
||||||
|
- Fixed sample count when using branched path tracing
|
||||||
|
|
||||||
|
|
||||||
|
## Version 1.6.0 (2017-02-14)
|
||||||
|
|
||||||
|
- Default to frame chunk size of 1 (instead of 10).
|
||||||
|
- Turn off "use overwrite" and "use placeholder" for Flamenco blend files.
|
||||||
|
- Fixed bugs when blendfile is outside the project directory
|
||||||
|
|
||||||
|
|
||||||
|
## Older versions
|
||||||
|
|
||||||
|
For the history of older versions, please refer to the
|
||||||
|
[Git history](https://developer.blender.org/diffusion/BCA/)
|
@@ -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, 6, 2),
|
'version': (1, 6, 3),
|
||||||
'blender': (2, 77, 0),
|
'blender': (2, 77, 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 '
|
||||||
|
@@ -220,7 +220,7 @@ class BlenderCloudPreferences(AddonPreferences):
|
|||||||
# can switch projects and the Attract and Flamenco properties switch with it.
|
# can switch projects and the Attract and Flamenco properties switch with it.
|
||||||
project = PointerProperty(type=BlenderCloudProjectGroup)
|
project = PointerProperty(type=BlenderCloudProjectGroup)
|
||||||
|
|
||||||
attract_project_local_path = StringProperty(
|
cloud_project_local_path = StringProperty(
|
||||||
name='Local Project Path',
|
name='Local Project Path',
|
||||||
description='Local path of your Attract project, used to search for blend files; '
|
description='Local path of your Attract project, used to search for blend files; '
|
||||||
'usually best to set to an absolute path',
|
'usually best to set to an absolute path',
|
||||||
@@ -345,11 +345,6 @@ class BlenderCloudPreferences(AddonPreferences):
|
|||||||
self.draw_project_selector(project_box, self.project)
|
self.draw_project_selector(project_box, self.project)
|
||||||
extensions = project_extensions(self.project.project)
|
extensions = project_extensions(self.project.project)
|
||||||
|
|
||||||
# Attract stuff
|
|
||||||
if 'attract' in extensions:
|
|
||||||
attract_box = project_box.column()
|
|
||||||
self.draw_attract_buttons(attract_box, self.project)
|
|
||||||
|
|
||||||
# Flamenco stuff
|
# Flamenco stuff
|
||||||
if 'flamenco' in extensions:
|
if 'flamenco' in extensions:
|
||||||
flamenco_box = project_box.column()
|
flamenco_box = project_box.column()
|
||||||
@@ -411,18 +406,19 @@ class BlenderCloudPreferences(AddonPreferences):
|
|||||||
row_buttons.label('Fetching available projects.')
|
row_buttons.label('Fetching available projects.')
|
||||||
|
|
||||||
enabled_for = project_extensions(project)
|
enabled_for = project_extensions(project)
|
||||||
if project:
|
if not project:
|
||||||
if enabled_for:
|
return
|
||||||
project_box.label('This project is set up for: %s' %
|
|
||||||
', '.join(sorted(enabled_for)))
|
|
||||||
else:
|
|
||||||
project_box.label('This project is not set up for Attract or Flamenco')
|
|
||||||
|
|
||||||
def draw_attract_buttons(self, attract_box, bcp: BlenderCloudProjectGroup):
|
if not enabled_for:
|
||||||
header_row = attract_box.row(align=True)
|
project_box.label('This project is not set up for Attract or Flamenco')
|
||||||
header_row.label('Attract:', icon_value=icon('CLOUD'))
|
return
|
||||||
attract_box.prop(self, 'attract_project_local_path',
|
|
||||||
text='Local Attract project path')
|
project_box.label('This project is set up for: %s' %
|
||||||
|
', '.join(sorted(enabled_for)))
|
||||||
|
|
||||||
|
# This is only needed when the project is set up for either Attract or Flamenco.
|
||||||
|
project_box.prop(self, 'cloud_project_local_path',
|
||||||
|
text='Local Cloud project path')
|
||||||
|
|
||||||
def draw_flamenco_buttons(self, flamenco_box, bcp: flamenco.FlamencoManagerGroup, context):
|
def draw_flamenco_buttons(self, flamenco_box, bcp: flamenco.FlamencoManagerGroup, context):
|
||||||
header_row = flamenco_box.row(align=True)
|
header_row = flamenco_box.row(align=True)
|
||||||
|
@@ -514,7 +514,7 @@ def render_output_path(context, filepath: Path = None) -> typing.Optional[PurePa
|
|||||||
filepath = Path(context.blend_data.filepath)
|
filepath = Path(context.blend_data.filepath)
|
||||||
|
|
||||||
return _render_output_path(
|
return _render_output_path(
|
||||||
prefs.attract_project_local_path,
|
prefs.cloud_project_local_path,
|
||||||
filepath,
|
filepath,
|
||||||
prefs.flamenco_job_output_strip_components,
|
prefs.flamenco_job_output_strip_components,
|
||||||
prefs.flamenco_job_output_path,
|
prefs.flamenco_job_output_path,
|
||||||
|
2
setup.py
2
setup.py
@@ -227,7 +227,7 @@ setup(
|
|||||||
'wheels': BuildWheels},
|
'wheels': BuildWheels},
|
||||||
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.6.2',
|
version='1.6.3',
|
||||||
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('.'),
|
||||||
|
@@ -1,15 +1,19 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
if [ -z "$1" ]; then
|
VERSION="${1/version-}"
|
||||||
|
|
||||||
|
if [ -z "$VERSION" ]; then
|
||||||
echo "Usage: $0 new-version" >&2
|
echo "Usage: $0 new-version" >&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
BL_INFO_VER=$(echo "$1" | sed 's/\./, /g')
|
BL_INFO_VER=$(echo "$VERSION" | sed 's/\./, /g')
|
||||||
|
|
||||||
sed "s/version='[^']*'/version='$1'/" -i setup.py
|
sed "s/version='[^']*'/version='$VERSION'/" -i setup.py
|
||||||
sed "s/'version': ([^)]*)/'version': ($BL_INFO_VER)/" -i blender_cloud/__init__.py
|
sed "s/'version': ([^)]*)/'version': ($BL_INFO_VER)/" -i blender_cloud/__init__.py
|
||||||
|
|
||||||
git diff
|
git diff
|
||||||
echo
|
echo
|
||||||
echo "Don't forget to commit!"
|
echo "Don't forget to commit and tag:"
|
||||||
|
echo git commit -m \'Bumped version to $VERSION\' setup.py blender_cloud/__init__.py
|
||||||
|
echo git tag -a version-$VERSION -m \'Tagged version $VERSION\'
|
||||||
|
Reference in New Issue
Block a user