417 Commits

Author SHA1 Message Date
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
David Vierra
c06945e0df Fixed: Error while handling error thrown by MCServerChunkGenerator 2012-11-13 10:09:56 -10:00
David Vierra
6960ba0db0 Submodule pymclevel updated.
Submodule pymclevel:
    > 387a70b - Fixed: BoundingBox honors its 'type' attribute again.
    > e82c974 - Fixed: ZipSchematic implements saveToFile again
    > 433fa0f - Fixed: Players were being loaded multiple times, once for each dimension
2012-11-12 13:59:34 -10:00
David Vierra
5b7b39b2fc When frozen, save mcedit.log to parent folder of mcedit.exe instead of current dir. 0.1.6build315 2012-11-10 12:32:03 -10:00
David Vierra
18f1006214 Selection tool cursor only highlights exposed faces. 2012-11-10 12:32:03 -10:00
David Vierra
5fb5891f0d Error Reporting: Scrub the user home folder last, because it usually contains the minecraft folder. 2012-11-10 12:32:03 -10:00
David Vierra
23abfa7c53 Settings: Block Buffer is displayed in MB 2012-11-10 12:32:02 -10:00
David Vierra
64950f0623 Fixed: Unicode error in string formatting when failing to load a world. 2012-11-10 12:32:02 -10:00
David Vierra
e5e410b067 Autoupdate: Display a progress dialog while downloading and installing updates. 2012-11-10 12:32:02 -10:00
David Vierra
d84f570c18 Revert "Support dimensions with arbitrary directory names."
This patch was incomplete. Did not address moving players to alternate
dimensions using the Move Player tool, and added spurious entries to the
Goto Dimension menu.

This reverts commit b618202340f6a8f8e2e96e666e46f4d0f063e405.

Submodule pymclevel:
    > 89648d7 - Revert "Support dimensions with arbitrary directory names."
2012-11-10 12:32:01 -10:00
David Vierra
8fe49f485a Debug: Log caught exceptions to the console. 2012-11-10 12:32:01 -10:00
David Vierra
91acdbafa8 Fixed: Shift-nudge to move faster. 2012-11-10 12:32:00 -10:00
David Vierra
189da2476c Fixed: Only close the previous world when opening a new world, and not when switching dimensions.
Close the current level before opening the new one to avoid reopening an open level.
2012-11-10 12:31:52 -10:00
David Vierra
96de46c418 Update readme.md with website url. 2012-11-07 17:32:18 -10:00
David Vierra
241a648ce2 The "Report Errors" checkbox is no longer stuck on or off.
Split it into two settings, one for report errors and one for asking on startup if it's okay to report errors.
0.1.6build312
2012-11-07 12:34:23 -10:00
David Vierra
f185473c5d Fixed: Don't close the current level until just before loading the new level.
Prevents a crash while a dialog box is open with a closed level behind it.
2012-11-07 12:14:37 -10:00
David Vierra
4c7fb1a527 Debug: Scrub home folders from error reports. 2012-11-07 04:28:52 -10:00
David Vierra
243630a6c6 Debug: Add debug display for Biomes
Submodule pymclevel:
    > 0d22bae - Test: time_relight using a human-built structure and using natural terrain.
    > 4569227 - Fixed: Bug in copyBlocks where entities and tile entities would be copied multiple times.
    > 3b86896 - Fixed: generateLights was loading every affected chunk at once.
    > e904341 - Biomes: Add biome types.
2012-11-07 04:28:43 -10:00
David Vierra
0669015830 Fixed: On save, redraw dirty chunks found in _loadedChunkData and unsavedWorkFolder
This breaks Pocket compatibility. Levels need a way to tell the editor which chunks to refresh.
2012-11-06 14:24:39 -10:00
David Vierra
50d362d526 Add "Recent Changes" to main menu. 2012-11-06 14:23:17 -10:00
David Vierra
5c568959c2 Submodule pymclevel updated.
Submodule pymclevel:
    > 41fcf62 - Fixed: Mark chunks dirty while relighting chunks to make sure they don't get discarded between lighting passes.
    > da5dfcd - Fixed: Don't save chunks from the unsaved work folder if they have already been saved from _loadedChunkData.
    > 864e640 - Fixed: Check that Blocks, BlockLight and SkyLight all have default values before discarding a chunk section.
2012-11-05 13:59:56 -10:00
David Vierra
d8aaef158b Debug: Add 'Dirty' and 'NeedsLighting' displays to debug display. 2012-11-05 01:54:21 -10:00
David Vierra
bafa46be69 Fixed: Update links in main menu. 2012-11-05 01:54:21 -10:00
David Vierra
0a777b738a Debug: Set logging level to INFO if -debug is given in argv, else use WARN. 2012-11-05 01:54:20 -10:00