80 Commits

Author SHA1 Message Date
David Vierra
6ba9955b90 Added a compass. 2013-10-06 16:34:17 -10:00
David Vierra
97433881cf Changed: Esc now opens the menu, instead of changing to the selection tool. 2013-05-22 13:09:28 -10:00
David Vierra
d22c3c8e45 Fixed: When repairing regions, skip region files that won't load. 2013-05-12 01:01:54 -10:00
David Vierra
c3158ccf7c Added: Undo Limit setting 2013-03-13 23:25:09 -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
45b428d064 Fixed: Disable mouselook when closing editor 2013-01-26 22:47:09 -10:00
David Vierra
926698c96a Fixed: "Repair Regions" button appears in World Info again. 2013-01-13 12:58:40 -10:00
David Vierra
22343ce856 Fixed: All "Future Block!" showing up as a single entry in Analyze. 2013-01-12 12:08:37 -10:00
David Vierra
2043f16305 Fixed: AttributeError when quitting from menu 2013-01-09 12:08:31 -10:00
David Vierra
801bfbc79e Mac users may now use control-click to pan the viewport. 2013-01-09 01:01:30 -10:00
David Vierra
ff6ff1d4d8 Control key no longer shows the main menu. Instead, an "MCEdit" button shows it. Clicking on the button again (or anywhere outside) hides it. 2013-01-09 00:59:46 -10:00
David Vierra
5c65a1b11d Fixed: Goto command is Ctrl/Cmd-G and doesn't conflict with Mirror 2013-01-09 00:09:36 -10:00
David Vierra
16a47fc6e1 Change Analyze command, renderer, and block picker to accept block IDs up to 4096 2013-01-08 11:28:36 -10:00
David Vierra
2725a6b740 Remove a chunk.compress call from chest item deleter 2013-01-07 10:57:36 -10:00
David Vierra
0a0d618679 Try to fix ufunc casting error in _anglesToVector by using the math module instead of numpy.
Error: Cannot cast ufunc add output from dtype('float64') to dtype('int32') with casting rule 'same_kind'
2012-12-04 22:22:25 -10:00
David Vierra
f40ba92ff0 Fixed: Error when saving Pocket Edition levels.
Get the list of dirty chunks the old way when the level isn't an anvil level.
2012-12-04 21:59:46 -10:00
David Vierra
8f7be2743b Catch SessionLockLost and IO/OSErrors while reading block ID under cursor after a left click. 2012-12-03 15:08:27 -10:00
David Vierra
83a08cb84f Worlds in the world select screen and levels being imported are now opened read-only.
Submodule pymclevel:
    > ce70e8b - Fixed: Dimensions check the parent world's session instead of creating their own. (xxx)
    > 1540076 - Added: Infinite worlds can now be opened read-only. This doesn't acquire the session lock.
    > 4d1d968 - Catch struct errors when checking session lock.
    > e0f1ca1 - Fixed: Session lock is checked before all chunk writes.
2012-12-01 15:49:54 -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
2da6feba48 focusPair can't be None, but it can be (None, None) 2012-11-30 16:50:53 -10:00
David Vierra
f0113a1864 Fixed: Catch IO/OSErrors while finding the block under the cursor. 2012-11-30 16:50:52 -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
0fe66a03b8 Fixed: Check session.lock before saving the level. 2012-11-25 12:36:31 -10:00
David Vierra
8db69e5734 Remove keypress logging 2012-11-23 02:44:54 -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
610de82505 Fixed: Flatland world generator was not saving chunks. 2012-11-20 11:15:00 -10:00
David Vierra
1215a0dd61 Fixed: TypeError when using chest editor. 2012-11-16 16:29:57 -10:00
David Vierra
ba43599728 Refactor: Move BlockThumbView and Thumbview to their own file. 2012-11-13 15:26:51 -10:00
David Vierra
a4e8a632fc Refactor: Move Operation to its own file 2012-11-13 15:26:50 -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
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
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.
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
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
d8aaef158b Debug: Add 'Dirty' and 'NeedsLighting' displays to debug display. 2012-11-05 01:54:21 -10:00
David Vierra
28b9244c69 Debug: Enable reporting errors to exceptional.io 2012-11-05 01:54:20 -10:00
David Vierra
e8dc9814ff Refactor: Remove call to removed function chunkFilenameAt.
Submodule pymclevel updated.

Submodule pymclevel:
    > 38cd052 - Refactor: Reorder members and methods of MCInfdevOldLevel to place related methods closer together.
2012-10-29 22:05:09 -10:00
David Vierra
d6739b1282 Refactor: Remove all uses of chunk.compress and related methods.
MCServerChunkGenerator was moved to minecraft_server.py
Some strings were changed from single- to double-quoted while removing statically declared tag names.Submodule pymclevel updated.

Submodule pymclevel:
    > f4b4091 - Fixed: Statement seems to have no effect
    > b7ce019 - Fixed: Remove redundant parentheses
    > 55c2369 - Fixed: Incorrect call arguments
    > bca5e18 - Fixed: Default argument value is mutable
    > 6fa9249 - Refactor: Remove dead class members.
    > 79f4e1a - Refactor: Remove dead function.
    > a749389 - Fixed: Comparison with None performed with equality operators
    > 670bb46 - Refactor: Move MCServerChunkGenerator and related classes and functions to a new file minecraft_server.py
    > 0b55db7 - Refactor: Remove tag names statically declared as string constants.
    > 50f9ee5 - Add .gitattributes with core.autocrlf
    > 78e45ae - Refactor: Remove compressedChunks and related methods and data from MCInfdevOldLevel and AnvilChunk
2012-10-29 22:03:03 -10:00
David Vierra
513ddc0398 Normalized line endings 2012-10-25 00:09:56 -10:00
David Vierra
c4f365e79c Change default FOV to 70.0 2012-10-15 14:04:09 -10:00
Philippe Latulippe
b618202340 Support dimensions with arbitrary directory names. 2012-09-09 19:55:18 -04:00
Tyler Kennedy
08e33ccbaf Merging in style changes, minor fixes, unused imports, pymclevel update. 2012-04-15 13:03:39 -04:00
Jedediah Smith
634b263a42 remove a spurious apostrophe that confuses emacs 2012-04-13 06:43:32 -04:00
Jedediah Smith
c9604d768a fix mouse jump after regaining focus (without touching albow) 2012-04-13 06:40:55 -04:00
Jedediah Smith
4e604d5a5d revert changes to external library albow 2012-04-13 06:08:06 -04:00
Jedediah Smith
61754f3e16 fix mouse-look jumping after losing and regaining focus (probably only on Mac) 2012-04-10 03:09:39 -04:00
Tyler Kennedy
d22791ff1d And that's what I get for rushing. 2012-03-28 11:30:28 -04:00
Tyler Kennedy
7043486d61 Missing deepcopy import 2012-03-26 21:25:50 -04:00
David Sowder
8a87e19e21 Merge branch 'master' of https://github.com/mcedit/mcedit 2012-03-20 21:37:22 -05:00