28 Commits

Author SHA1 Message Date
David Vierra
c3bc76ba19 Added: ALT+Mouseover shows full NBT tags for TileEntities.
Without ALT, shows tags minus the "Items" tag.
2013-04-11 11:58:52 -10:00
David Vierra
963d2a728c Added: "Record Undo" option.
"Record Undo" is reset when loading or saving a level.
Long undo operations can be canceled.
2013-03-13 23:13:54 -10:00
David Vierra
660ce2d3c7 Fixed: Random huge selection boxes after changing levels.
Selection tool wasn't clearing the starting point after finishing a selection.
2013-01-09 00:24:10 -10:00
David Vierra
80a8459c1e Catch and ignore EnvironmentErrors when drawing chunks and tool reticles and getting reticle positions. 2012-11-30 16:50:54 -10:00
David Vierra
8bdc3266ae Fixed: Check blockFaceUnderCursor isn't None when drawing selection reticle. 2012-11-30 16:50:53 -10:00
David Vierra
ead87c03ff Refactor: Remove toolbasics.py.
All wildcard imports under editortools are gone.
2012-11-13 15:26:53 -10:00
David Vierra
b00f708aa2 Refactor: Move EditorTool to its own file. 2012-11-13 15:26:53 -10:00
David Vierra
1c1857b17c Refactor: Move ToolOptions to its own file. 2012-11-13 15:26:52 -10:00
David Vierra
229a0ccd7a Refactor: Move NudgeButton to its own file 2012-11-13 15:26:50 -10:00
David Vierra
a4e8a632fc Refactor: Move Operation to its own file 2012-11-13 15:26:50 -10:00
David Vierra
9bda172a35 Fixed: ValueError when undoing the first selection operation after having no selection.
Don't try to make a Vector out of None in setSelectionPoints
2012-11-13 15:26:49 -10:00
David Vierra
4985791551 Added: Use copyChunkFrom to record undo information.
Operation now has `editor` and `level` as required arguments to init. Operation has a default `undo` implementation that copies all chunks from `undoLevel`. `undoSchematic` renamed to `undoLevel`
2012-11-13 15:26:45 -10:00
David Vierra
18f1006214 Selection tool cursor only highlights exposed faces. 2012-11-10 12:32:03 -10:00
David Vierra
dc1ca09910 Fixed: Incorrect imports from pymclevel. (Fix the damn source roots already.) 2012-11-04 00:25:42 -10:00
David Vierra
dd2bf7f2ae BoundingBox is now immutable, and use the new Vector for adding, subtracting, and rescaling positions.
Submodule pymclevel updated.

Submodule pymclevel:
    > 07c8024 - BoundingBox: Made BoundingBox immutable and added immutable Vector class
    > f5e4fd1 - FakeChunk now uses TAG_List for its fake Entities and TileEntities instead of lists.
    > 3e4a9b8 - NBT: TAG_List now accepts item assignment using slices.
    > 30cfb1d - Test: testFillBlocks calls fillBlocks with a blocksToReplace argument
    > 3fb1b0c - Fixed: Scan the unsaved work folder and _loadedChunkData in addition to the world folder when listing chunks.
    > fae5e61 - Fixed: Scan the unsaved work folder in addition to the world folder when listing chunks.
2012-11-01 00:30:18 -10:00
David Vierra
513ddc0398 Normalized line endings 2012-10-25 00:09:56 -10:00
David Sowder
7e921a4229 More import related fixes similar to those in pull request/issue #53 2012-03-04 21:08:55 -06:00
David Sowder
f4cc898145 import tempfile locally rather than relying on it being available through our import of pymclevel 2012-03-04 19:14:21 -06:00
David Sowder
f7bc0a9320 pep8 compliance: E222 multiple spaces after operator 2012-02-21 20:26:46 -06:00
David Sowder
bbdd02abed pep8 compliance: E261 at least two spaces before inline comment 2012-02-21 20:03:35 -06:00
David Sowder
0e9faa3f4e pep8 compliance: E701 multiple statements on one line (colon) 2012-02-21 19:54:32 -06:00
David Sowder
3fdcacedff pep8 compliance: E702 multiple statements on one line (semicolon) 2012-02-21 19:43:50 -06:00
David Sowder
a81a6c3a8d pep8 compliance: E301 expected 1 blank line 2012-02-21 19:40:48 -06:00
David Sowder
44277200a0 pep8 compliance: E302 expected 2 blank lines 2012-02-21 19:29:21 -06:00
David Sowder
cab5c2a1e0 pep8 compliance: E303 too many blank lines 2012-02-21 19:26:02 -06:00
David Sowder
fa633c64fb pep8 compliance: W291 trailing whitespace 2012-02-21 19:11:45 -06:00
David Sowder
f60c6bb30c pep8 compliance: W293 blank line contains whitespace 2012-02-21 19:06:46 -06:00
David Vierra
e20a70d963 Initial open source release. 2012-02-13 14:59:37 -10:00