David Vierra
1e65b6ef2d
Increase cache limit in testThrashing to be more than the maxsize of recentChunks
2015-10-28 00:52:05 -10:00
David Vierra
5f01a1bde2
Rewrite test fixtures using _temp_file and _temp_level
2015-10-28 00:50:27 -10:00
David Vierra
1a80d4b699
Rearrange tests/ folder so tests/mceditlib doesn't overload src/mceditlib in module searches
2015-10-28 00:34:57 -10:00
David Vierra
f459f3d9f2
Install xdist and catchlog for tests
2015-10-28 00:34:56 -10:00
David Vierra
92f2715f3e
Add travis.yml
2015-10-28 00:34:56 -10:00
David Vierra
bf9a278296
Move cython to mceditlib reqs
2015-10-28 00:34:55 -10:00
David Vierra
8c33e43112
Split setup.py into two files
2015-10-28 00:34:55 -10:00
David Vierra
fa02b40cf1
requirements.txt now references requirements-mceditlib.txt
2015-10-28 00:34:54 -10:00
David Vierra
b4c605cb1c
Move all tests/benchmarks out of src/ and into tests/ and benchmarks/
2015-10-28 00:34:53 -10:00
David Vierra
81c65fb925
Swap GL buffers on a second thread to improve chunk loading speed and UI responsiveness.
2015-10-27 23:15:37 -10:00
David Vierra
f71f0f749e
Increase maxFPS, improving perceived smoothness
2015-10-27 23:15:36 -10:00
David Vierra
ee9e6ae111
Camera movement is smoother. Tweak camera tick rate, acceleration, and min speed.
2015-10-27 23:15:36 -10:00
David Vierra
db76266204
Add crude, half-implemented "Go To" buttons to the CommandBlock inspector
2015-10-27 23:15:35 -10:00
David Vierra
e3b602d4a9
Status bar now updates in response to viewport movement (as when holding camera keys)
2015-10-27 23:15:35 -10:00
David Vierra
33d2537c24
Refactor Scenegraph nodes to allow states attached to each Node. (Big, messy change!)
...
States have an enter() and exit() function to setup and teardown GL states. Previously, states were their own nodes, so each state created its own display list. Now, creating a node for each state is optional.
2015-10-27 23:15:34 -10:00
David Vierra
fd795bf79c
xxx destroy this commit, adds logging to rendernode
2015-10-25 16:39:24 -10:00
David Vierra
333e0e6b3b
Add command visuals for /give, /playsound, /summon, /testforblock, /blockdata, /fill, /setblock
...
Register command visuals using a decorator
2015-10-25 16:38:11 -10:00
David Vierra
d1e2a7680e
Add half-done command parsers for /fill, /give, /playsound, /clone, /blockdata
...
Register command parsers using a decorator
2015-10-25 16:37:23 -10:00
David Vierra
e2f41bac1e
Shaped selection renderer feels slightly more responsive.
...
Load chunks immediately over a very short duration when the box is resized.
2015-10-25 16:36:17 -10:00
David Vierra
81e1753629
Tweak the formula used for LineArcNode
2015-10-25 16:35:18 -10:00
David Vierra
b271508ad9
Stub out the "Find/Replace Command Text" window
2015-10-25 16:34:53 -10:00
David Vierra
2f742a77a2
Show command visuals when inspecting blocks.
2015-10-25 03:22:37 -10:00
David Vierra
f43e5e0bc6
Add command visualizers for /execute, /setblock, /clone
2015-10-25 03:21:55 -10:00
David Vierra
5e273b1235
Add command parsers for /execute, /clone, /setblock
2015-10-25 03:21:34 -10:00
David Vierra
bd76d3eb36
Reformat EditorSession menu creation code
2015-10-24 22:04:19 -10:00
David Vierra
60775a46fd
Inspector now outlines the selected block/entity/chunk
2015-10-24 15:45:46 -10:00
David Vierra
fec40e9a77
Improve block inspector with ID number, light level, and block name readouts
2015-10-24 15:44:54 -10:00
David Vierra
119fab3f92
Add blocktypes for new command blocks
2015-10-24 15:44:09 -10:00
David Vierra
32342161fc
Replace GL.GL_LINES with glPolygonMode(..., GL.GL_LINE)
...
glPolygonMode is affected by polygon offset, GL.GL_LINES is not
2015-10-24 15:43:56 -10:00
David Vierra
c2f128efe6
The log said to update progressMax to 7, so I did.
2015-10-24 01:38:39 -10:00
David Vierra
b2cb1861d3
find_replace.blocks -> find_replace.replace_blocks
2015-10-24 01:38:27 -10:00
David Vierra
2639967721
AnalyzeOutputDialog does not call exec during __init__
2015-10-23 22:40:54 -10:00
David Vierra
0856fe6a2f
Refactor editorcommands.find_replace to a package with one module for each find/replace action
2015-10-23 22:40:35 -10:00
David Vierra
46ba2e3d7c
Add one command for each tab of the Find/Replace dialog
2015-10-23 19:36:58 -10:00
David Vierra
a58d7c59e4
Double-check current selection in EditorSession.export()
...
This action should be disabled when the selection is None, but whatever.
2015-10-23 13:40:37 -10:00
David Vierra
44179472b7
Disable log view for now. I never use it anyway.
2015-10-20 11:30:34 -10:00
David Vierra
af6a72a76e
Move tool and coord widget now support relative offsets
2015-10-20 11:30:10 -10:00
David Vierra
a5801f1034
Rewrite BlockTypesItemWidget to not create widgets during updateContents
...
Consequently does not create widgets during the paint() of a view with a BlockTypeListItemDelegate
2015-10-18 10:46:30 -10:00
David Vierra
5319da5484
Fake states are now "[meta=%d]" instead of "[%d]"
2015-10-18 10:40:02 -10:00
David Vierra
d4f1656e1c
Don't create multiple "ghost" imports when importing a second time.
2015-10-17 09:44:17 -10:00
David Vierra
de03b743fb
Add docstrings to createSchematic, extractSchematicFrom and Ray
2015-10-17 09:43:53 -10:00
David Vierra
aece427f6f
Handle MaxDistanceError when importing schematics
2015-10-17 09:43:22 -10:00
David Vierra
1bfb781417
Merge pull request #161 from straemer/master
...
Add instructions to set virtualenv to use python2
2015-10-16 12:00:40 -10:00
Stephen Kraemer
b8bef5f7c7
Add instructions to set virtualenv to use python2 when python3 is the default.
2015-10-16 17:57:35 -04:00
David Vierra
8f47d676b4
pointInputChanged now goes through importDidMove
2015-10-14 13:32:05 -10:00
David Vierra
db44717935
Transform import positions using 3x3 matrix to skip tuple resize
2015-10-14 13:32:04 -10:00
David Vierra
8edd6c8efe
Align import positions to the block grid
2015-10-14 13:32:04 -10:00
David Vierra
ca9617bb57
Actually return the bounds for temp schematics
2015-10-14 13:32:03 -10:00
David Vierra
cca9ed3a47
Cache some computed points and bounds instead of computing them in properties
2015-10-14 13:32:02 -10:00
David Vierra
8c02496a43
Vector now returns an ndarray when multiplied with one.
2015-10-14 13:32:02 -10:00