14 Commits

Author SHA1 Message Date
0974c460e8 Added exception drawing code.
It's rather primitive, but at least the GUI reflects that something has
gone wrong.
2016-03-23 13:46:19 +01:00
ac29d49450 Per-BlenderID-user cache.
Different users might have different access rights, and thus access
to different information.
2016-03-22 15:20:22 +01:00
fb84b2892e Store UUIDs in the image data block 2016-03-22 14:49:03 +01:00
c2ee865cff Always clear images before stopping the GUI operator 2016-03-22 14:35:33 +01:00
6b84dcf282 Added downloading of all files belonging to one texture. 2016-03-22 14:31:29 +01:00
7df27426ef Caching of texture thumbnails.
Based on HTTP headers stored in sidecar files.
2016-03-21 17:21:51 +01:00
5c2beaf7b2 Browsing now uses node objects, instead of just node UUID
This made the browsing code slightly simpler, and reduces the number
of Pillar queries. The list of nodes visited to end up at the current node
is also stored, so that we can easily go back up.
2016-03-21 11:46:47 +01:00
aeae24e6bc Allow the Blender Cloud browser to run full-screen
It no longer requires a 3D View, but can be run everywhere.
2016-03-15 17:09:27 +01:00
e16f069eb3 Added downloading of textures when clicking on a menu item
For this I made the operator a state machine; when its state is set to
'QUIT' it'll quit. Different states can have different OpenGL drawing
functions.

For now, to help development, the state is drawn in the bottom left corner.
2016-03-15 15:44:19 +01:00
fc0fe9f651 Added TODO note. 2016-03-15 14:07:25 +01:00
5e237bea22 Explicitly support cancelling tasks.
The 'cancelled' status is now tracked by a Future that's passed to
different asychronous tasks. That way it is possible to cancel all
running tasks before browsing another Pillar node.
2016-03-15 14:05:54 +01:00
0174c28075 Setting up and using Python's logging framework.
It's dubious whether logging.basicConfig() should be called here, so
that call will probably be moved somewhere else.
2016-03-15 13:47:21 +01:00
e32d7de7a6 Earlier calling of thumbnail_loading callback
This means that some information isn't available to the callback yet,
but it can show the filename & spinner logo much sooner.
2016-03-14 18:12:29 +01:00
59401d9c41 Moved GUI to 3D viewport
We now draw the GUI using OpenGL in Python. This allows for much more
control on the Python side. It's still a prototype, and allows us to
test the features without depending on C support in Blender itself.
GUI code was taken from the Asset Flinger addon.
2016-03-14 17:23:56 +01:00