1308 Commits

Author SHA1 Message Date
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
David Vierra
05d844c72a Extract RotationWidget to widgets/rotation_widget.py 2015-10-11 03:22:29 -10:00
David Vierra
35d7317eda Expand transform bounds when not on a block edge. 2015-10-09 17:59:29 -10:00
David Vierra
9ec45459c7 Load block mapping only after all attempts at loading/creating metadataTag 2015-10-09 17:59:15 -10:00
David Vierra
feb325232e Implement camera acceleration 2015-10-09 17:58:45 -10:00
David Vierra
4778a3c87d Transformation matrix accounts for coordinates being the lower-left corner of cells. 2015-10-08 23:34:20 -10:00
David Vierra
adf70cf8a6 Setting the actual rotation of PendingImportNode also updates the rotation of the non-transformed preview. 2015-10-08 23:33:59 -10:00
David Vierra
010fea7df8 Fix calculation of transformed bounds not using inverse matrix 2015-10-08 23:33:34 -10:00
David Vierra
c932f2aa30 Rot90 buttons no longer checkable 2015-10-08 22:44:20 -10:00
David Vierra
92833b7830 Add exact values for sin/cos of 90 degree angles. 2015-10-08 22:33:10 -10:00
David Vierra
63c578fce0 Create icons for and implement right-angle rotation buttons. 2015-10-08 21:03:27 -10:00
David Vierra
8713704bcb Change default distance when raycast fails to same as raycast distance 2015-10-08 18:07:40 -10:00
David Vierra
d99ccf2d5a Update Move tool's rotation input when pendingImport is changed 2015-10-08 18:07:25 -10:00
David Vierra
9e2004de19 Remove multi-imports from PasteImportCommand 2015-10-08 18:07:07 -10:00
David Vierra
6def097021 Reduce maximum raycast distance. 2015-10-08 02:23:32 -10:00