441 Commits

Author SHA1 Message Date
David Vierra
620f5a072e Debug: When exiting with an error, the command window waits instead of closing immediately. 2012-11-28 01:11:20 -10:00
David Vierra
b3e020f488 Submodule pymclevel updated.
Submodule pymclevel:
    > 7cdcc2b - Fixed: Raise ChunkMalformed for errors reading the data and instantiating the AnvilChunkData also.
    > 603e412 - Fixed: Make sure chunk data is at least 5 bytes long for the chunk header.
2012-11-27 00:39:23 -10:00
David Vierra
d35d0009c7 Also catch and display EnvironmentErrors when applying updates. 2012-11-27 00:24:34 -10:00
David Vierra
636b1b46e7 Fixed: Shift-clicking with Brush tool draws straight lines again 2012-11-27 00:19:11 -10:00
David Vierra
58dbd00ab9 #177 Print version number with error traceback. 2012-11-26 22:02:40 -10:00
David Vierra
be1362252f Remove repr of user info from crash reports. 2012-11-26 15:41:28 -10:00
David Vierra
d7fdb2b104 Fixed: #177 release.get_version now tries to use 'git describe' to provide a commit ID when running from source 2012-11-26 15:16:11 -10:00
David Vierra
66fcc0b199 Fixed: Change a print to a logging call to suppress an encoding error. 2012-11-26 14:00:01 -10:00
David Vierra
566a10da4f Debug: Include LANG and sys.getfilesystemencoding in error reports.
Also use an ordered dict to preserve env order.
2012-11-26 13:59:27 -10:00
David Vierra
aa6a9524e6 Fixed: TypeError in frustum.visible1
Was calling builtin sum() and any() when numpy's routines are needed.
2012-11-26 12:04:19 -10:00
David Vierra
2a1a6aafa7 Merge pull request #149 2012-11-26 01:51:52 -10:00
KaboPC
8bf1695154 Update filter.py for wrapped text and keyworded string input
Updated filter.py to used the new TextFieldWrapped class; added keywords for defining TextFieldWrapped line, width, and default value attributes to replace strValSize, strVal, and strSize optionTypes.

String input fields can now defined with:

("optionName", "string")
OR
("optionName", ("string", "lines=", "width=", "value="))
Conflicts:
	editortools/filter.py
2012-11-26 01:51:14 -10:00
KaboPC
cdea40b4b3 Add Wrapped Field classes to ALBOW package
Adds three classes to fields.py based on original ALBOW fields, but designed handle multiline and wrapped text.
2012-11-26 01:30:34 -10:00
David Vierra
5056ce0def Fixed: #186 Ctrl+W shortcut doesn't provide a "cancel" option. 2012-11-25 19:28:54 -10:00
David Vierra
32a179967b Fixed: Undo works again when editing Classic, Indev, and Schematic formats. 2012-11-25 19:28:01 -10:00
David Vierra
304728131f Fixed: UnicodeDecodeError while checking for updates.
Esky retrieves the version numbers as unicode strings and joins them to the given exe path, so pass that path as unicode also.
2012-11-25 18:46:35 -10:00
David Vierra
85e80e8287 Merge pull request #153 2012-11-25 13:56:40 -10:00
David Vierra
0fe66a03b8 Fixed: Check session.lock before saving the level. 2012-11-25 12:36:31 -10:00
David Vierra
8b5146cb5c Submodule pymclevel updated.
Submodule pymclevel:
    > dfed650 - Fixed TypeError in extractChunks.
0.1.6build329
2012-11-24 15:59:32 -10:00
David Vierra
e19c086a8d Fixed: Remove calls to glWindowPos which caused errors on some Intel chipsets. 2012-11-24 13:21:28 -10:00
David Vierra
73b835f685 Debug: Disallow importing a level into itself to avoid overwriting its temporary folder. 2012-11-24 13:14:41 -10:00
David Vierra
8db69e5734 Remove keypress logging 2012-11-23 02:44:54 -10:00
David Vierra
2d0bcee26c Fixes #185 - Access Violation on Intel chipsets 0.1.6build327 2012-11-22 22:52:02 -10:00
David Vierra
8fc21a6c57 Readme: Add package names for Ubuntu Linux. 2012-11-22 14:29:43 -10:00
David Vierra
1a7d4af2f2 Logging: On OS X , save log file into ~/Library/Logs instead of burying it inside the app bundle. 2012-11-22 14:28:54 -10:00
David Vierra
160210bb9a Disable extra noisy event logging. 2012-11-21 21:56:00 -10:00
David Vierra
81b682d728 Undo records are stored in a dedicated temp directory which is deleted on exit. 2012-11-21 21:39:28 -10:00
David Vierra
a8978445d3 Cleanup: Remove extra glFlush calls from a few places.
glFlush may make the program wait until the GL driver has forwarded all commands to the GPU. glFlush is already called once in the main loop just before swapping buffers and checking for user input.
2012-11-20 14:33:31 -10:00
David Vierra
8cf1bdeb87 Cleanup: Remove "Double Buffer" config var which did not have a visible option setting.
Double buffering is now a required GPU feature to run MCEdit.
2012-11-20 14:17:55 -10:00
David Vierra
37f31a1039 Submodule pymclevel updated.
Submodule pymclevel:
    > 8dc4a7f - Fixed: UnicodeEncodeError in `MCAlphaDimension.__str__`
    > 23b77c7 - Cleanup: Remove redundant HeightMap property
2012-11-20 14:12:29 -10:00
David Vierra
610de82505 Fixed: Flatland world generator was not saving chunks. 2012-11-20 11:15:00 -10:00
David Vierra
63cf7e32bb Fixed: Error when importing objects taller than the world. 2012-11-20 11:14:18 -10:00
David Vierra
371142af8f OpenGL: Take advantage of PyOpenGL 3.0.2
This version adds a 'framebufferobjects' module which chooses whichever of the OpenGL 3.0, ARB, and EXT versions of framebuffers is available.
2012-11-20 00:07:58 -10:00
David Vierra
1215a0dd61 Fixed: TypeError when using chest editor. 2012-11-16 16:29:57 -10:00
David Vierra
9a137c5354 Submodule pymclevel updated.
Submodule pymclevel:
    > ccce8cd - Fixed: zlib compression level used in region files is now 2.
    > 613d7b3 - Cleanup: Rewrite adjustCopyParameters in terms of BoundingBox intersection.
    > 3c51ed8 - Cleanup: Check whether a point is in the level's bounds using `in self.bounds`
    > a43cfa1 - Fixed: copyChunksFrom correctly calls copyBlocksFrom on the world.
0.1.6build320
2012-11-14 12:41:51 -10:00
David Vierra
dcb6841fb3 Submodule pymclevel updated.
Submodule pymclevel:
    > 57c95b8 - Fixed: AnvilWorldFolder.getFolderPath uses `os.makedirs` to make all enclosing folders.
    > 294c8ec - MCServerChunkGenerator: Support Forge Mod Loader.
    > 03566f9 - Added: Add copyChunkFrom to MCInfdevOldLevel and MCRegionFile.
    > ec52850 - RegionFile: Now raises ChunkNotPresent on reading a missing chunk.
    > ed6d087 - Fixed: Use atexit to delete temporary schematic on exit.
2012-11-13 17:43:12 -10:00
David Vierra
ac9ef891db Only show progress bars when undoing more than 25 chunks. 2012-11-13 15:26:54 -10:00
David Vierra
75588b4cfe Clone tool now copies undo chunks in a non-overlapping way.
Also fixes an error when cloning since recordUndo() was removed.
2012-11-13 15:26: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
b3c6a7b84d Refactor: Move BlockView and BlockButton to their own file. 2012-11-13 15:26:52 -10:00
David Vierra
cd56c8f0e6 Refactor: Move BlockPicker to its own file. 2012-11-13 15:26:51 -10:00
David Vierra
ba43599728 Refactor: Move BlockThumbView and Thumbview to their own file. 2012-11-13 15:26:51 -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
dfab4a7af7 Fix comment in maxBlocks 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
24e0c8a9b2 Fixed: AttributeError while using flatland chunk generator.
todo: honor world's flatland generator setting.
2012-11-13 10:10:29 -10:00