1022 Commits

Author SHA1 Message Date
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
David Vierra
5a1170b856 Return import bounds for temporary copies 2015-10-14 13:32:01 -10:00
David Vierra
156dfa2016 showProgress handles reentrant calls by completing these calls non-interactively. 2015-10-14 13:32:00 -10:00
David Vierra
457c6add01 Non-transformed world loader for PendingImportNode only instantly loads the first clone 2015-10-14 13:32:00 -10:00
David Vierra
31829313ce BoundingBox.intersect always returns a BoundingBox 2015-10-14 13:31:59 -10:00
David Vierra
169de72a74 PendingImport uses the correct bounds for extracting temp schematics, and returns the source selection for imports 2015-10-14 13:31:58 -10:00
David Vierra
6f9583a741 Repeated clone previews now rotate repeated rotations synchronously 2015-10-14 13:31:58 -10:00
David Vierra
743cce9405 Non-primary PendingImportNodes can have their BoxHandles disabled 2015-10-14 05:45:00 -10:00
David Vierra
cd0bef16bb Cache PendingImport.transformOffset 2015-10-14 05:43:36 -10:00
David Vierra
9a05736a32 Clone tool now has rotation settings 2015-10-13 18:59:35 -10:00
David Vierra
f3d65b85c8 Extract and move getSourceForDim from MoveTool to PendingImport 2015-10-13 18:50:39 -10:00
David Vierra
d1b06bf60a Begin adding rotation inputs to Clone tool 2015-10-12 23:39:14 -10:00
David Vierra
a12574d987 Move/Clone tools return to Select tool after confirm. 2015-10-11 03:22:47 -10:00