blender-cloud-addon.git
2 months agoCleanup: formatting with Black master
Sybren A. Stüvel [Thu, 29 Jul 2021 17:34:11 +0000 (19:34 +0200)]
Cleanup: formatting with Black

No functional changes.

2 months agoFix Windows incompatibility when using Shaman URLs as job storage path
Sybren A. Stüvel [Thu, 29 Jul 2021 17:33:36 +0000 (19:33 +0200)]
Fix Windows incompatibility when using Shaman URLs as job storage path

The Shaman URL check was done on the wrong string, which went unnoticed
on Linux because an URL is a valid file path. However, on Windows this is
not the case, and thus caused problems. This is now fixed.

3 months agoBumped version to 1.21 version-1.21
Sybren A. Stüvel [Tue, 27 Jul 2021 15:11:52 +0000 (17:11 +0200)]
Bumped version to 1.21

3 months agoBump blender-asset-tracer version 1.5.1 → 1.6
Sybren A. Stüvel [Tue, 27 Jul 2021 15:12:12 +0000 (17:12 +0200)]
Bump blender-asset-tracer version 1.5.1 → 1.6

BAT 1.6 has better compatibility with Geometry Nodes.

3 months agoBumped version to 1.20 version-1.20
Sybren A. Stüvel [Thu, 22 Jul 2021 15:16:00 +0000 (17:16 +0200)]
Bumped version to 1.20

3 months agoDisable Strict Pointer Mode in Blender Asset Tracer
Paul Golter [Thu, 22 Jul 2021 14:43:43 +0000 (16:43 +0200)]
Disable Strict Pointer Mode in Blender Asset Tracer

Disable BAT's Strict Pointer Mode to work around issues with dangling
pointers in the Blender Animation Studio files. These seem to be caused
by not-perfectly-resynced library overrides. Ignoring those pointers
seems to cause less problems than crashing on them.

3 months agoBump blender-asset-tracer version 1.3.1 → 1.5.1
Paul Golter [Thu, 22 Jul 2021 14:43:51 +0000 (16:43 +0200)]
Bump blender-asset-tracer version 1.3.1 → 1.5.1

Bump BAT version to have it tested on the currently used Python version
(3.9) and to have the ability to disable Strict Pointer Mode.

8 months agoBumped version to 1.19 version-1.19
Sybren A. Stüvel [Tue, 23 Feb 2021 10:58:09 +0000 (11:58 +0100)]
Bumped version to 1.19

8 months agoMark 1.19 as released in CHANGELOG.md
Sybren A. Stüvel [Tue, 23 Feb 2021 10:58:03 +0000 (11:58 +0100)]
Mark 1.19 as released in CHANGELOG.md

8 months agoSimplify @pyside_cache decorator
Sybren A. Stüvel [Tue, 23 Feb 2021 10:56:38 +0000 (11:56 +0100)]
Simplify @pyside_cache decorator

This fixes a compatibility issue with Python 3.9+, and at the same time
avoids a not-yet-quite-stable area of Blender's Python API.

8 months agoMark 1.18 as released
Sybren A. Stüvel [Tue, 16 Feb 2021 10:55:46 +0000 (11:55 +0100)]
Mark 1.18 as released

8 months agoBumped version to 1.18
Sybren A. Stüvel [Tue, 16 Feb 2021 10:55:16 +0000 (11:55 +0100)]
Bumped version to 1.18

8 months agoUpdate `update_script.sh` for new formatting with Black
Sybren A. Stüvel [Tue, 16 Feb 2021 10:50:26 +0000 (11:50 +0100)]
Update `update_script.sh` for new formatting with Black

8 months agoCleanup: reformat setup.py with Black
Sybren A. Stüvel [Tue, 16 Feb 2021 10:51:36 +0000 (11:51 +0100)]
Cleanup: reformat setup.py with Black

No functional changes.

8 months agoDon't save preferences when exiting with "Send & Quit" button
Sybren A. Stüvel [Tue, 16 Feb 2021 10:34:35 +0000 (11:34 +0100)]
Don't save preferences when exiting with "Send & Quit" button

The "Save & Quit" button disables the exit confirmation box, and that
change shouldn't be auto-saved.

8 months agoRemove code to support Blender 2.79 and older
Sybren A. Stüvel [Tue, 16 Feb 2021 10:33:48 +0000 (11:33 +0100)]
Remove code to support Blender 2.79 and older

8 months agoReformat with Black
Sybren A. Stüvel [Tue, 16 Feb 2021 10:21:06 +0000 (11:21 +0100)]
Reformat with Black

No functional changes.

8 months agoCompatibility with Blender 2.93 / Python 3.9 → require Blender 2.80+
Sybren A. Stüvel [Tue, 16 Feb 2021 10:04:24 +0000 (11:04 +0100)]
Compatibility with Blender 2.93 / Python 3.9 → require Blender 2.80+

The code now requires Python 3.7 or newer, as a side-effect of the changes
required for compatibility with 3.9 (as used in Blender 2.93). As a result,
Blender Cloud Add-on now requires Blender 2.80 or newer.

8 months agoSlightly more compressed changelog
Sybren A. Stüvel [Tue, 16 Feb 2021 09:28:47 +0000 (10:28 +0100)]
Slightly more compressed changelog

No functional changes.

8 months agoBumped version to 1.17 version-1.17
Sybren A. Stüvel [Thu, 4 Feb 2021 11:04:46 +0000 (12:04 +0100)]
Bumped version to 1.17

8 months agoUpgrade BAT 1.2.1 → 1.3.1
Sybren A. Stüvel [Thu, 4 Feb 2021 11:04:26 +0000 (12:04 +0100)]
Upgrade BAT 1.2.1 → 1.3.1

Upgrade BAT to version 1.3.1, which brings compatibility with Geometry
Nodes and fixes some issues on Windows.

11 months agoReduce logging noise
Sybren A. Stüvel [Thu, 12 Nov 2020 11:31:17 +0000 (12:31 +0100)]
Reduce logging noise

- No longer list Attract's RNA classes, these haven't changed in a long
  time and it's not interesting to see.
- Reduced log level when updating internal state. The result of the update
  is already logged at INFO level.

19 months agoBumped version to 1.16
Sybren A. Stüvel [Tue, 3 Mar 2020 09:38:39 +0000 (10:38 +0100)]
Bumped version to 1.16

19 months agoFix T74211: Windows compatibility with Shaman URL handling
Sybren A. Stüvel [Tue, 3 Mar 2020 09:37:44 +0000 (10:37 +0100)]
Fix T74211: Windows compatibility with Shaman URL handling

22 months agoBumped version to 1.15 and marked as released in CHANGELOG version-1.15
Sybren A. Stüvel [Thu, 12 Dec 2019 09:42:08 +0000 (10:42 +0100)]
Bumped version to 1.15 and marked as released in CHANGELOG

22 months agoRemoved trailing period from property description
Sybren A. Stüvel [Thu, 12 Dec 2019 09:40:38 +0000 (10:40 +0100)]
Removed trailing period from property description

No functional changes.

2 years agoDon't create BAT pack when rendering file in job storage directory
Sybren A. Stüvel [Fri, 25 Oct 2019 11:34:34 +0000 (13:34 +0200)]
Don't create BAT pack when rendering file in job storage directory

When the to-be-rendered blend file is contained in the job storage
directory, it is now assumed that all files are already reachable by the
Flamenco Workers. This supports environments working directly on shared
storage.

This assumes that the paths are already correct for the Flamenco
Workers. No detection of missing files is done (as BAT doesn't run).

2 years agoBumped version to 1.14 version-1.14
Sybren A. Stüvel [Thu, 10 Oct 2019 08:39:37 +0000 (10:39 +0200)]
Bumped version to 1.14

2 years agoUpdated changelog
Sybren A. Stüvel [Thu, 10 Oct 2019 08:39:28 +0000 (10:39 +0200)]
Updated changelog

2 years agoBump Blender Asset Tracer (BAT) version from 1.1.1 → 1.2.1
Sybren A. Stüvel [Thu, 10 Oct 2019 08:29:53 +0000 (10:29 +0200)]
Bump Blender Asset Tracer (BAT) version from 1.1.1 → 1.2.1

2 years agoConvert property definitions from assignment to annotations on Blender 2.80+
Sybren A. Stüvel [Thu, 10 Oct 2019 08:23:40 +0000 (10:23 +0200)]
Convert property definitions from assignment to annotations on Blender 2.80+

The properties are still declared in the Python 3.5 compatible assignment
notation, and a class decorator that converts those to class annotations
as preferred by Blender 2.80.

2 years agoupdate_version.sh: Use Python 3 in example command version-1.13.5
Sybren A. Stüvel [Fri, 21 Jun 2019 12:31:54 +0000 (14:31 +0200)]
update_version.sh: Use Python 3 in example command

This makes it possible to run the command outside of a Python 3 virtualenv.

2 years agoBumped version to 1.13.5
Sybren A. Stüvel [Fri, 21 Jun 2019 12:30:03 +0000 (14:30 +0200)]
Bumped version to 1.13.5

2 years agoAttract fix for Blender 2.80 panel change
Sybren A. Stüvel [Fri, 21 Jun 2019 12:29:49 +0000 (14:29 +0200)]
Attract fix for Blender 2.80 panel change

Commit 1e7c3a159fd2ca42fd5688be067008ef0d2c03df removed the 'Info' panel
(which is good), so we have to attach the metadata subpanel somewhere else.

2 years agoAttract doesn't have to be active to use ATTRACT_OT_open_meta_blendfile
Sybren A. Stüvel [Fri, 21 Jun 2019 12:29:07 +0000 (14:29 +0200)]
Attract doesn't have to be active to use ATTRACT_OT_open_meta_blendfile

It is pretty much independent of Attract.

2 years agoPrevent KeyError when Flamenco Manager settings are unknown
Sybren A. Stüvel [Wed, 12 Jun 2019 09:47:16 +0000 (11:47 +0200)]
Prevent KeyError when Flamenco Manager settings are unknown

2 years agoRun Pip via `{sys.executable} -m pip` version-1.13.4
Sybren A. Stüvel [Tue, 4 Jun 2019 10:40:02 +0000 (12:40 +0200)]
Run Pip via `{sys.executable} -m pip`

This solves the same problem as c457767edf814f92e1da8cb9d08fa52404ea074c,
but in a way that's actually [recommended](https://pip.pypa.io/en/latest/user_guide/#using-pip-from-your-program).

2 years agoRevert "Use Python module to run Pip"
Sybren A. Stüvel [Tue, 4 Jun 2019 10:35:46 +0000 (12:35 +0200)]
Revert "Use Python module to run Pip"

This reverts commit c457767edf814f92e1da8cb9d08fa52404ea074c. Modern pip
can no longer be used this way ('pip.main' does not exist).

2 years agoBumped version to 1.13.4
Sybren A. Stüvel [Tue, 4 Jun 2019 10:29:50 +0000 (12:29 +0200)]
Bumped version to 1.13.4

2 years agoAnother Blender 2.8 compatibility fix
Sybren A. Stüvel [Tue, 4 Jun 2019 10:28:52 +0000 (12:28 +0200)]
Another Blender 2.8 compatibility fix

2 years agoUse Python module to run Pip
Jeroen Bakker [Wed, 29 May 2019 08:28:34 +0000 (10:28 +0200)]
Use Python module to run Pip

setup.py used systemcalls for package management pip. This call is
platform dependent as on ubuntu distros this needs to be pip3. On these
platforms pip points to the python2 version.

By direct calling the pip module from within the running python process
we know for sure we are triggering the correct one.

Differential revision: https://developer.blender.org/D4952/

Reviewed by: sybren

2 years agoAttract: draw strip metadata as its own panel
Sybren A. Stüvel [Fri, 24 May 2019 12:12:36 +0000 (14:12 +0200)]
Attract: draw strip metadata as its own panel

The panel is a subpanel in Blender 2.80, and a top-level panel in 2.79.

2 years agoBumped version to 1.13.3 version-1.13.3
Sybren A. Stüvel [Tue, 21 May 2019 08:19:49 +0000 (10:19 +0200)]
Bumped version to 1.13.3

2 years agoFixed little bug
Sybren A. Stüvel [Tue, 21 May 2019 08:19:34 +0000 (10:19 +0200)]
Fixed little bug

Missed a function call in a69f4d3fd91958e2fdbc94e661bae10ba1d7f139.

2 years agoBumped version to 1.13.2 version-1.13.2
Sybren A. Stüvel [Fri, 17 May 2019 09:26:40 +0000 (11:26 +0200)]
Bumped version to 1.13.2

2 years agoMark version 1.13 as released
Sybren A. Stüvel [Fri, 17 May 2019 09:26:29 +0000 (11:26 +0200)]
Mark version 1.13 as released

2 years agoBlender 2.80 compatibility for Attract panel in sequence editor
Sybren A. Stüvel [Fri, 17 May 2019 09:15:06 +0000 (11:15 +0200)]
Blender 2.80 compatibility for Attract panel in sequence editor

2 years agoQuick fix for Blender 2.80 texture loading
Sybren A. Stüvel [Fri, 17 May 2019 09:09:57 +0000 (11:09 +0200)]
Quick fix for Blender 2.80 texture loading

The `Image.gl_load()` call was changed in Blender commit
7ad802cf3ae500bc72863b6dba0f28a488fce3d1; the two parameters we were using
were removed.

This commit fixes the exception and makes the texture browser usable again,
but doesn't properly fix everything. The textures are drawn in the wrong
colour space, which will be fixed in another commit once I know how.

2 years agoBumped Pillar Python SDK 1.7.0 → 1.8.0
Sybren A. Stüvel [Tue, 14 May 2019 09:05:51 +0000 (11:05 +0200)]
Bumped Pillar Python SDK 1.7.0 → 1.8.0

2 years agoFlamenco: Moved some code around, no semantic changes
Sybren A. Stüvel [Fri, 10 May 2019 10:29:39 +0000 (12:29 +0200)]
Flamenco: Moved some code around, no semantic changes

2 years agoBumped version to 1.13.1 version-1.13.1
Sybren A. Stüvel [Thu, 18 Apr 2019 10:58:49 +0000 (12:58 +0200)]
Bumped version to 1.13.1

2 years agoTypo
Sybren A. Stüvel [Thu, 18 Apr 2019 10:58:34 +0000 (12:58 +0200)]
Typo

2 years agoRemoved unused import
Sybren A. Stüvel [Thu, 18 Apr 2019 10:46:42 +0000 (12:46 +0200)]
Removed unused import

2 years agoBumped version to 1.13.0
Sybren A. Stüvel [Thu, 18 Apr 2019 10:10:30 +0000 (12:10 +0200)]
Bumped version to 1.13.0

2 years agoFlamenco: Support for Flamenco Manager settings version 2
Sybren A. Stüvel [Thu, 18 Apr 2019 10:09:54 +0000 (12:09 +0200)]
Flamenco: Support for Flamenco Manager settings version 2

When using Blender Cloud Add-on 1.12 or older, Flamenco Server will
automatically convert the Manager settings to version 1. As a result,
upgrading is recommended but not required to keep working with a newer
Flamenco Server.

2 years agoUpgraded BAT to 1.1.1 for a compatibility fix with Blender 2.79
Sybren A. Stüvel [Thu, 18 Apr 2019 10:06:43 +0000 (12:06 +0200)]
Upgraded BAT to 1.1.1 for a compatibility fix with Blender 2.79

2 years agoFlamenco: sort path replacement vars by replacement, not by variable name
Sybren A. Stüvel [Thu, 18 Apr 2019 09:07:36 +0000 (11:07 +0200)]
Flamenco: sort path replacement vars by replacement, not by variable name

The longer paths need to be replaced first. Not the longer variable name.

2 years agoFix `pyrna_enum_to_py: current value matches no enum` warnings
Sybren A. Stüvel [Tue, 26 Mar 2019 11:35:27 +0000 (12:35 +0100)]
Fix `pyrna_enum_to_py: current value matches no enum` warnings

2 years agoBumped version to 1.12.1
Sybren A. Stüvel [Tue, 26 Mar 2019 10:32:10 +0000 (11:32 +0100)]
Bumped version to 1.12.1

2 years agoBumped BAT requirement to 1.1 version-1.12.0
Sybren A. Stüvel [Mon, 25 Mar 2019 16:48:28 +0000 (17:48 +0100)]
Bumped BAT requirement to 1.1

2 years agoUpdated CHANGELOG
Sybren A. Stüvel [Mon, 25 Mar 2019 16:44:56 +0000 (17:44 +0100)]
Updated CHANGELOG

2 years agoFixed Blender 2.79 incompatibility
Sybren A. Stüvel [Wed, 20 Mar 2019 12:58:56 +0000 (13:58 +0100)]
Fixed Blender 2.79 incompatibility

2 years agoBumped BAT to 1.1.dev2
Sybren A. Stüvel [Wed, 20 Mar 2019 12:58:47 +0000 (13:58 +0100)]
Bumped BAT to 1.1.dev2

2 years agoFlamenco: get JWT token from Flamenco Server when sending files to Shaman
Sybren A. Stüvel [Wed, 13 Mar 2019 14:09:24 +0000 (15:09 +0100)]
Flamenco: get JWT token from Flamenco Server when sending files to Shaman

2 years agoUse exponential backoff in `uncached_session`
Sybren A. Stüvel [Wed, 13 Mar 2019 14:08:56 +0000 (15:08 +0100)]
Use exponential backoff in `uncached_session`

2 years agoBlender changed `use_quit_dialog` into `use_save_prompt`
Sybren A. Stüvel [Wed, 13 Mar 2019 09:07:23 +0000 (10:07 +0100)]
Blender changed `use_quit_dialog` into `use_save_prompt`

2 years agoFlamenco: Use DNA enum value for `format` setting
Sybren A. Stüvel [Tue, 12 Mar 2019 14:27:27 +0000 (15:27 +0100)]
Flamenco: Use DNA enum value for `format` setting

See https://developer.blender.org/D4502 and https://developer.blender.org/rF032423271d0417aed3b6053adb8b6db2774b0d36
for more info.

2 years agoBumped BAT to 1.1-dev1
Sybren A. Stüvel [Wed, 6 Mar 2019 12:41:49 +0000 (13:41 +0100)]
Bumped BAT to 1.1-dev1

2 years agoUpdated CHANGELOG
Sybren A. Stüvel [Wed, 6 Mar 2019 12:32:38 +0000 (13:32 +0100)]
Updated CHANGELOG

2 years agoBlender Video Chunks: also allow .mp4 and .mov as container format
Sybren A. Stüvel [Wed, 6 Mar 2019 12:31:30 +0000 (13:31 +0100)]
Blender Video Chunks: also allow .mp4 and .mov as container format

2 years agoBundle with BAT 1.1-dev0 for Shaman support
Sybren A. Stüvel [Fri, 1 Mar 2019 13:37:44 +0000 (14:37 +0100)]
Bundle with BAT 1.1-dev0 for Shaman support

See https://gitlab.com/blender-institute/shaman for more info.

2 years agoSet min job priority to 1
Sybren A. Stüvel [Fri, 1 Mar 2019 13:36:41 +0000 (14:36 +0100)]
Set min job priority to 1

Previously the minimum was 0, but the server only accepts 1 and up.

2 years agoAdd support for Shaman servers
Sybren A. Stüvel [Thu, 28 Feb 2019 11:53:29 +0000 (12:53 +0100)]
Add support for Shaman servers

See https://gitlab.com/blender-institute/shaman for more info

2 years agoCreate job first, then send files
Sybren A. Stüvel [Thu, 28 Feb 2019 11:52:51 +0000 (12:52 +0100)]
Create job first, then send files

This requires Flamenco Server 2.2 or newer.

2 years agoUpdated BAT to 0.99
Sybren A. Stüvel [Tue, 26 Feb 2019 15:48:39 +0000 (16:48 +0100)]
Updated BAT to 0.99

2 years agoFlamenco: Name render jobs just 'thefile' instead of 'Render thefile.flamenco.blend'
Sybren A. Stüvel [Wed, 13 Feb 2019 14:17:50 +0000 (15:17 +0100)]
Flamenco: Name render jobs just 'thefile' instead of 'Render thefile.flamenco.blend'

This makes the job list on Flamenco Server cleaner.

2 years agoAllow project selection, even when the current project is ''.
Sybren A. Stüvel [Wed, 13 Feb 2019 13:29:36 +0000 (14:29 +0100)]
Allow project selection, even when the current project is ''.

2 years agoBumped BAT to 0.9
Sybren A. Stüvel [Tue, 12 Feb 2019 11:33:31 +0000 (12:33 +0100)]
Bumped BAT to 0.9

2 years agoFlamenco: Different label for 'frame chunk' depending on render job type
Sybren A. Stüvel [Wed, 6 Feb 2019 08:32:24 +0000 (09:32 +0100)]
Flamenco: Different label for 'frame chunk' depending on render job type

The frame chunk size has a slightly different meaning when rendering
progressively (Flamenco Server can choose to chunk more frames together
when rendering a low number of samples).

2 years agoFlamenco: show a warning when the frame dimensions are not divisible by 2
Sybren A. Stüvel [Mon, 4 Feb 2019 10:39:14 +0000 (11:39 +0100)]
Flamenco: show a warning when the frame dimensions are not divisible by 2

Any 'Create Video' Flamenco task that's part of the job will pad the video
with black pixels to make the dimensions even, and this warning notifies
the artist about this.

2 years agoFlamenco: Fixed tiny layout bug
Sybren A. Stüvel [Mon, 4 Feb 2019 10:37:04 +0000 (11:37 +0100)]
Flamenco: Fixed tiny layout bug

2 years agoFixed "You are not logged in" message
Sybren A. Stüvel [Fri, 1 Feb 2019 16:20:01 +0000 (17:20 +0100)]
Fixed "You are not logged in" message

2 years agoBumped version to 1.12.0
Sybren A. Stüvel [Thu, 31 Jan 2019 13:43:08 +0000 (14:43 +0100)]
Bumped version to 1.12.0

2 years agoFlamenco: Added a hidden "Submit & Quit" button.
Sybren A. Stüvel [Thu, 31 Jan 2019 13:42:50 +0000 (14:42 +0100)]
Flamenco: Added a hidden "Submit & Quit" button.

This button can be enabled in the add-on preferences and and then be
available on the Flamenco Render panel. Pressing the button will
silently close Blender after the job has been submitted to Flamenco (for
example to click, walk away, and free up memory for when the same
machine is part of the render farm).

2 years agoFlamenco: disable Cycles denoiser when progressive rendering
Sybren A. Stüvel [Wed, 30 Jan 2019 15:01:54 +0000 (16:01 +0100)]
Flamenco: disable Cycles denoiser when progressive rendering

The denoiser data cannot be (easily) merged, so for now we just disable
the denoiser.

2 years agoFlamenco: disallow progressive rendering unless Cycles is used
Sybren A. Stüvel [Wed, 30 Jan 2019 15:04:31 +0000 (16:04 +0100)]
Flamenco: disallow progressive rendering unless Cycles is used

2 years agoFlamenco: disallow progressive rendering on Blender < 2.80
Sybren A. Stüvel [Wed, 30 Jan 2019 15:03:58 +0000 (16:03 +0100)]
Flamenco: disallow progressive rendering on Blender < 2.80

Rendering ranges of sample chunks only works reliably for us after
Blender commit 7744203b7fde35a074faf232dda3595b78c5f14c (Tue Jan 29
18:08:12 2019 +0100).

2 years agoFlamenco: easy button for setting max sample count for progressive rendering
Sybren A. Stüvel [Wed, 30 Jan 2019 15:01:02 +0000 (16:01 +0100)]
Flamenco: easy button for setting max sample count for progressive rendering

2 years agoFlamenco: no longer use the word 'chunks' in the UI
Sybren A. Stüvel [Wed, 30 Jan 2019 15:02:27 +0000 (16:02 +0100)]
Flamenco: no longer use the word 'chunks' in the UI

It's a confusing word; 'Frames per Task' is clearer.

2 years agoFlamenco: Move job-type-specific options to a box below job type selector
Sybren A. Stüvel [Wed, 30 Jan 2019 14:57:43 +0000 (15:57 +0100)]
Flamenco: Move job-type-specific options to a box below job type selector

This should make the relation between the job type and its options clearer.

2 years agoFlamenco: Progressive Rendering max sample count instead of chunk count
Sybren A. Stüvel [Wed, 30 Jan 2019 13:16:30 +0000 (14:16 +0100)]
Flamenco: Progressive Rendering max sample count instead of chunk count

Flamenco Server changed from expecting a fixed number of sample chunks to
a compile-time determined number of nonuniform chunks. The artist can now
influence the size of each render task by setting a maximum number of
samples per render task.

2 years agoFlamenco: nicer error reporting when creating a job fails
Sybren A. Stüvel [Wed, 30 Jan 2019 12:05:09 +0000 (13:05 +0100)]
Flamenco: nicer error reporting when creating a job fails

2 years agoPrevent error when running Blender in background mode
Sybren A. Stüvel [Fri, 4 Jan 2019 15:25:50 +0000 (16:25 +0100)]
Prevent error when running Blender in background mode

We shouldn't call any `gpu` functions in background mode. Since the texture
browser will never run when Blender is in background mode anyway, we can
simply assign `None` instead.

2 years agoBumped version to 1.11.1 version-1.11.1
Sybren A. Stüvel [Fri, 4 Jan 2019 12:42:12 +0000 (13:42 +0100)]
Bumped version to 1.11.1

2 years agoBundled missing Texture Browser icons in setup.py
Sybren A. Stüvel [Fri, 4 Jan 2019 12:42:04 +0000 (13:42 +0100)]
Bundled missing Texture Browser icons in setup.py

2 years agoUpdated changelog version-1.11.0
Sybren A. Stüvel [Fri, 4 Jan 2019 10:13:32 +0000 (11:13 +0100)]
Updated changelog

2 years agoBumped version to 1.11.0
Sybren A. Stüvel [Fri, 4 Jan 2019 10:12:36 +0000 (11:12 +0100)]
Bumped version to 1.11.0

2 years agoBlender Sync: fixed missing icon in Blender 2.80
Sybren A. Stüvel [Fri, 4 Jan 2019 10:09:20 +0000 (11:09 +0100)]
Blender Sync: fixed missing icon in Blender 2.80

I like the 'DOTSDOWN' icon better, so I keep using it in Blender ≤ 2.79.

2 years agoFixed some MyPy warnings
Sybren A. Stüvel [Thu, 3 Jan 2019 11:07:05 +0000 (12:07 +0100)]
Fixed some MyPy warnings

This includes using `''` instead of `None` in some cases where an empty
string conveys 'nothing' equally well as `None`; in such cases keeping the
type the same rather than switching to another type is preferred.

2 years agoUpdate users of the material after replacing a HDRi
Sybren A. Stüvel [Thu, 3 Jan 2019 10:33:19 +0000 (11:33 +0100)]
Update users of the material after replacing a HDRi

This causes a refresh and immediately shows the new texture in the viewport.