8a5efc18db
Separated async-task-operator code from texture browser GUI code.
2016-06-16 16:33:05 +02:00
29230f09e7
More streamlined interface with Pillar.
...
Using a semaphore to ensure requests to Pillar aren't too parallel,
so that we can cancel requests faster.
2016-04-01 18:47:06 +02:00
09e9c02d65
Asyncio loop kicked via modal operator.
...
The old way (using a scene_update_pre handler) turned out to work due to
a bug in Blender, where scene_update_pre was called too frequently.
2016-03-23 13:45:28 +01:00
dc4677ed04
Removed single-threadedness from executor
2016-03-22 14:35:44 +01:00
c5f66ec0d9
Removed time dependency in asyncio loop kicking.
2016-03-22 14:31:34 +01:00
d3e433b8b2
Using loop.call_later() to ensure short-running loop iteration
...
How we previously did things could cause us to miss certain calls, such
as calling 'future.add_done_callback()' callbacks.
2016-03-15 15:34:30 +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
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
b274faf12c
Transitioned from synchronous to asynchronous
...
Using the new 'async def' functionality in Python 3.5!
Still crappy GUI, we're going to replace that.
2016-03-11 17:52:12 +01:00