Sybren A. Stüvel
a81c1c80a8
Explicitly use bl_description instead of defaulting to __doc__
...
__doc__ should end in a period, and bl_description shouldn't.
2017-02-22 16:02:44 +01:00
Sybren A. Stüvel
e777d67922
Bumped version to 1.4.4 to release some bug fixes.
...
This branch doesn't contain Flamenco or Attract, since the project
selection still needs work.
version-1.4.4
2017-02-21 10:51:23 +01:00
Sybren A. Stüvel
7edeff5ee1
Added script to bump versions in all the right places.
...
Must be called with major.minor.micro revision number (so 3 components).
Signed-off-by: Sybren A. Stüvel <sybren@stuvel.eu >
2017-02-21 10:49:02 +01:00
Sybren A. Stüvel
63b976cb44
Allow texture browser usage when the blend file is dirty.
...
Refuse to start if the file hasn't been saved. It's okay if
it's dirty, we just need to know where '//' points to.
Fixes T49203.
2016-09-06 12:30:48 +02:00
Sybren A. Stüvel
73a62da8da
Fixed some issues with new db_user-returning credential check.
2016-08-30 16:57:21 +02:00
Sybren A. Stüvel
2c70ceb489
Solved issue T48992
2016-08-30 16:33:59 +02:00
Sybren A. Stüvel
38ccb54b50
Switch to new API URL.
2016-08-30 16:33:51 +02:00
Sybren A. Stüvel
1df113ca01
check_credentials() now returns the entire user, not just the ID.
2016-08-26 17:43:40 +02:00
Sybren A. Stüvel
887a9cc697
Allow async operators to automatically quit when they raise an exception.
...
Just set the class property `stop_upon_exception=True`.
2016-08-26 17:43:40 +02:00
Sybren A. Stüvel
143456ae1d
Made AsyncModalOperatorMixin.invoke() start self.async_execute(context).
...
This was already common practice in all subclasses, and has now been
moved into the mixin.
2016-08-26 17:43:40 +02:00
Sybren A. Stüvel
f41ea8c5a3
Ignore __pycache__ dirs
2016-08-26 16:16:21 +02:00
Sybren A. Stüvel
7d90a92e24
Bumped version to 1.4.3
version-1.4.3
2016-08-23 14:41:33 +02:00
Sybren A. Stüvel
2388f800dc
Fix T49080: Blender Cloud add-on error uploading screenshot
...
The screenshot filename contained colons, which isn't allowed on Windows.
2016-08-23 14:40:41 +02:00
Sybren A. Stüvel
38a3bcba71
Bumped version to 1.4.2, to re-distribute with B'ID addon 1.1.0
version-1.4.2
2016-08-04 14:39:00 +02:00
Sybren A. Stüvel
2cf400a74c
Remove trailing slash from pillar_endpoint for BlenderID Addon 1.1.0
...
BlenderID Addon 1.1.0 uses endpoint URLs differently, so now directory-
like URLs have to end in a slash.
2016-08-04 12:46:42 +02:00
Sybren A. Stüvel
54ebb0bf5d
Removed support: OFFICIAL, as that's reserved for Blender-bundled addons.
2016-08-04 11:21:59 +02:00
Sybren A. Stüvel
9e84d2a416
Only ignore blend files at the root dir
2016-07-29 11:05:51 +02:00
Sybren A. Stüvel
772e6b0b1b
bundle.sh: warn when an addon can't be found.
2016-07-29 11:02:31 +02:00
Sybren A. Stüvel
b6232c8c13
Bumped version to 1.4.1
version-1.4.1
2016-07-27 18:38:10 +02:00
Sybren A. Stüvel
6d4ba51c6c
Added missing callback argument
2016-07-27 18:37:29 +02:00
Sybren A. Stüvel
b9caecfce9
Removed some unused code
version-1.4.0
2016-07-26 16:02:15 +02:00
Sybren A. Stüvel
4ce8db88c6
Tagged version as 1.4.0
2016-07-26 15:30:23 +02:00
Sybren A. Stüvel
dfff0cb55b
Bumped pillarsdk requirement to 1.5.0
2016-07-26 15:30:16 +02:00
Sybren A. Stüvel
1a515bfbda
Texture browser: removed the blue line :(
2016-07-22 18:25:24 +02:00
Sybren A. Stüvel
a47dfa8f32
Texture browser: UI polish for HDRi variation selector
2016-07-22 18:25:20 +02:00
Sybren A. Stüvel
8890ad5421
Texture browser: storing desired HDRi variation on image, not window mgr
...
Also added an HDRi panel in the node properties.
2016-07-22 18:06:13 +02:00
Sybren A. Stüvel
f0d42ed2cc
Texture browser: on click on HDRi, always just download the smallest image.
...
The larger ones can be downloaded later from the GUI.
The addon assumes that the first image in the node.properties.files list is
the smallest one. This can be ensured on a per-project basis by running
'manage.py hdri_sort {project URL}' on the Pillar server.
2016-07-22 17:49:29 +02:00
Sybren A. Stüvel
76ca59251b
Texture browser: nicer handling of still-loading menu items.
2016-07-22 17:47:37 +02:00
Sybren A. Stüvel
b33ec74347
Texture browser: Use node name as file name
2016-07-22 17:47:37 +02:00
Sybren A. Stüvel
b5e33c52c1
Texture browser: simplified HDRi replacing.
...
It now just loads a new image into the existing image datablock.
2016-07-22 17:47:37 +02:00
Sybren A. Stüvel
8b56918989
Texture browser: HDRi variation selector now defaults to variation of the current image.
2016-07-22 17:47:31 +02:00
Sybren A. Stüvel
99257bd88b
Added HDRi variation swap operator.
...
The variation/resolution selector isn't final yet.
2016-07-22 15:39:08 +02:00
Sybren A. Stüvel
c2363d248b
Settings sync: solved etag mismatch issue.
...
This was caused by doing a cached request, which would always return
the etag of the previous request.
2016-07-22 12:57:15 +02:00
Sybren A. Stüvel
3776246d70
Texture browser: load images with relative path if needed.
...
If the local texture path of the current scene is relative, the image
will also be stored in a relative path.
2016-07-22 12:56:37 +02:00
Sybren A. Stüvel
9bc8c30443
Moved invoke-calling execute function to AsyncModalOperatorMixin
...
because this is what you'd generally want from an async operator
2016-07-22 12:48:50 +02:00
Sybren A. Stüvel
56b622a723
Texture browser: save Node document with downloaded image.
2016-07-21 16:25:58 +02:00
Sybren A. Stüvel
8edf9c7428
Texture browser: Don't show spinner for HDRi files
2016-07-21 14:09:52 +02:00
Sybren A. Stüvel
10bf3e62ec
Marked as beta release in setup.py
2016-07-21 12:11:02 +02:00
Sybren A. Stüvel
3ec1a3d26d
Made HRDi browsing more efficient.
...
It now uses the thumbnail of the node for each file, instead of trying
to download each file's thumbnail individually.
2016-07-21 12:10:29 +02:00
Sybren A. Stüvel
3ce89ad5f4
Show file size for HDRi files.
2016-07-21 11:17:53 +02:00
Sybren A. Stüvel
7cf858855e
PEP8 formatting
2016-07-21 11:03:30 +02:00
Sybren A. Stüvel
a10b4a804c
Added support for HDRi nodes.
...
These nodes are like textures, except that here the user should choose
which variation to download (instead of downloading them all).
2016-07-21 11:03:23 +02:00
Sybren A. Stüvel
514968de40
Texture browser: set downloaded image as active in image editor.
...
If the current context is the image editor, that is.
2016-07-20 17:08:57 +02:00
Sybren A. Stüvel
c73dce169f
Added a panel that shows custom properties in the image editor.
2016-07-20 16:54:06 +02:00
Sybren A. Stüvel
369e082880
Added GPL License block to the top of each .py file.
2016-07-20 16:32:01 +02:00
Sybren A. Stüvel
6cd9cb1713
Texture browser: clicking on HDRi node no longer causes exception.
...
The browser still downloads all HDRi files, though.
2016-07-20 16:17:48 +02:00
Sybren A. Stüvel
37f701edaf
Added texture browser to the image menu.
...
The Ctrl+Alt+Shift+A shortcut still works everywhere, but now it's also
easy to find in the GUI.
2016-07-20 16:09:56 +02:00
Sybren A. Stüvel
b04f9adb40
Texture browser: Don't use file name as menu item label.
...
Just using the node name is clearer, as it only depends on the node, and
no longer on the linked files themselves. This also makes it easier to
get compatible with HDRi nodes (as those files won't be named
"{name}-{maptype}".
2016-07-20 16:02:56 +02:00
Sybren A. Stüvel
70a0aba10a
Allow browsing group_hdri nodes.
...
Nodes of type 'hdri' don't work well yet.
2016-07-20 15:58:09 +02:00
Sybren A. Stüvel
f6d05c4c84
Bumped version to 1.4.0 (otherwise we don't get HDRi projects from Cloud)
2016-07-20 14:27:00 +02:00