1195 Commits

Author SHA1 Message Date
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
David Vierra
2557df5e58 Move PendingImport and PendingImportNode to imports.py, disable multi-imports (for now)
Rewrite much of them for clarity.
2015-10-08 02:23:22 -10:00
David Vierra
df25824820 Move PendingImport and PendingImportNode to imports.py 2015-10-07 15:32:00 -10:00
David Vierra
7c897202f6 Library widget starts on Schematics tab 2015-10-07 01:35:12 -10:00
David Vierra
b4464656d3 Adjust colors of greyed-out Save icon. 2015-10-07 01:35:01 -10:00
David Vierra
bb05c9bb19 Don't raise ValueError when creating non-creatable sections, return None instead. 2015-10-07 01:30:55 -10:00
David Vierra
83a882e7d0 TranslateNode.translateOffset is now Vector typed. 2015-10-07 01:30:34 -10:00
David Vierra
f0145de3d3 Painfully fixed recursion depth error when undoing Move Finish commands.
This is very, very unsatisfactory. It isn't clear which object is the definitive source for a pending import's position, transformed or not.
2015-10-07 01:29:55 -10:00
David Vierra
cf34b418c4 Fix progress dialog suddenly reappearing after a delay. 2015-10-06 19:26:26 -10:00
David Vierra
c2ff80a4b9 Create MCEProgressDialog, which cannot be closed by any means. 2015-10-06 17:13:14 -10:00
David Vierra
0b1f47c2b9 WorldLoader now has a startLoader function with a minimum duration.
The minimum duration tells how long to load chunks immediately before starting the async loader.
2015-10-06 17:12:32 -10:00
David Vierra
7bdcd2c044 Flood fill tool now has hover and flood direction options. 2015-10-06 17:11:35 -10:00
David Vierra
dbbacea7a8 Progress dialog is once again cancelable, and has a minimum time before displaying. 2015-10-06 17:10:48 -10:00
David Vierra
7fd974426e SimplePerformCommand uses showProgress to show commitUndo progress.
Makes Flood Fill tool show progress when committing undo.
2015-10-06 17:09:57 -10:00