548 Commits

Author SHA1 Message Date
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
1f6aadea0b Submodule pymclevel updated.
Submodule pymclevel:
    > a840df7 - Fixed: ValueError in chunk copy when selection is chunk aligned but offset from destination level
    > f428245 - Fixed ValueError: shape mismatch when rotating/flipping schematics.
    > d6196eb - TileEntity.copyWithOffset now adjusts the coordinates of teleport command blocks.
2013-01-09 00:59:46 -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
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 0.1.7build373 2013-01-08 11:28:36 -10:00
David Vierra
3ec0568e7b Merge pull request #243 2013-01-08 11:25:37 -10:00
David Vierra
0d1b49f894 LowDetailBlockRenderer uses a vertex array without textures so the color bytes have a different index. Change setAlpha to use that index. 2013-01-08 11:25:20 -10:00
David Vierra
2725a6b740 Remove a chunk.compress call from chest item deleter 0.1.6 2013-01-07 10:57:36 -10:00
Martin Kaistra
10fd43e7af allow input of utf8 characters in TextEditorWrapped 2013-01-07 14:30:27 +01:00
David Vierra
b28595a260 Remove debug print from auto-update. 0.1.6build368 2013-01-03 13:26:19 -10:00
David Vierra
d17763ea02 Submodule pymclevel updated.
Submodule pymclevel:
    > 1e649dc - Fixed: File already exists error when deleting and recreating unsavedWorkFolder
2013-01-03 13:07:42 -10:00
David Vierra
b3da9ed160 Fixed: Warning message on startup no longer links to GetSatisfaction. The bug is fixed in Minecraft 1.4. 2013-01-03 11:05:32 -10:00
David Vierra
45fbedb4f8 Submodule pymclevel updated.
Submodule pymclevel:
    > c19ba58 - Rename Block 36 to Piston Movement Placeholder
    > 391883f - End Portal Frames are transparent. Fixes #121
    > b2af2d8 - Added block 36
0.1.6build366
2013-01-01 12:27:31 -10:00
David Vierra
c1930c572f Ignore ENV32, virtualenv for 32-bit python on 64-bit windows 2013-01-01 12:19:24 -10:00
David Vierra
e1f267472d Debug: Duplicate UnicodeErrors not having exception names removed 2013-01-01 00:46:30 -10:00
David Vierra
c3ee13a97b Fixed: Unicode encode errors in update status callback 2012-12-31 23:50:34 -10:00
David Vierra
0125eac17e Graphics: Update to 1.4.6 terrain.png
Submodule pymclevel:
    > fda71ca - Update NOTEX for 1.4.6 terrain.png
0.1.6build362
2012-12-26 18:21:48 -10:00
David Vierra
87c34e9c69 Setup: Change url in setup.py 2012-12-26 18:15:54 -10:00
David Vierra
c85679eae3 Updates: Change update URL to bitbucket 2012-12-26 18:15:36 -10:00
David Vierra
c40b148127 Pocket Edition: (#212) New textures and block types.
Submodule pymclevel:
    > 307dfcb - Ignore profiling outputs
    > a84bb90 - Change coordinates of purple block texture to a different unused block.
    > 76e990e - MCJavaLevel: Fix AttributeError in saveInPlace
    > 06f7958 - Added: Nether Brick Slabs
    > 9994317 - Cleaned up pocket.yaml
    > 71c9935 - Finished adding new materials (based on wiki and inventory)
    > 66d8c02 - Added some of the new blocks. Nether reactor related still ramaining, and maybe grass.
2012-12-25 13:13:51 -10:00
David Vierra
65de6560f2 Merge changes from pull request #149 2012-12-09 17:05:26 -10:00
KaboPC
3b55244296 Fix index out-of-range in pos_to_index
Fix a crash occurring from trying to access a list with a negative index when drag-selecting text above the field box boundaries.(cherry picked from commit 609538b441a0dcf7890b4656c98673ee8de8820d)
2012-12-09 17:04:56 -10:00
David Vierra
b0b8813022 Fixed: PE world not appearing when Show->TileTicks is enabled. Fixes #211 2012-12-09 12:18:00 -10:00
David Vierra
a4aab9f2fb Fixed: Linux file dialog remains scrolled after changing directory. Fixes #210 2012-12-09 11:45:19 -10:00
David Vierra
0f5d154a10 Fixed: Clone , paste, and import work again with Pocket Edition levels.
extractUndoChunks computes a larger bounding box and calls extractUndoSchematic for non-Anvil levels.
2012-12-08 23:07:03 -10:00
David Vierra
eb902b9eb5 Filter list is now sorted. Fixes #205. 2012-12-07 23:14:50 -10:00
David Vierra
4746730db6 Merge changes from pull request #149 0.1.6build341 2012-12-04 23:37:38 -10:00
KaboPC
eff9dff826 Fix index out-of-range in get_text_and_insertion_data
Added check for empty list textL.(cherry picked from commit 2bf4030381eb4837e1ad3e4d50d479a95c87b972)
2012-12-04 23:36:54 -10:00
David Vierra
753afc9317 Catch read, file, and session errors when checking for valid spawn blocks. 2012-12-04 23:08:53 -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
5aec6fd0f4 Report the name of the exception's class instead of converting the class to a string, resulting in shorter names. 2012-12-03 15:09:24 -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
5e9999bc67 Submodule pymclevel updated.
Submodule pymclevel:
    > 11aac46 - Tests: Add quick test for session locks.
    > 9dce312 - Reraise ChunkNotPresent when loading chunk data instead of wrapping it in ChunkMalformed.
    > dd3d051 - Cleanup: Finding directories in mclevelbase.py
    > 250f479 - Fixed: Fixed mcedit/mcedit#203 (Pocket Edition levels not relighting)
    > e9b72b3 - mce.py heightmap is less spammy.
    > 24204a5 - Tests: run_regression_test.py now uses testfiles/AnvilWorld instead of the older alpha.tar.gz.
    > d787801 - Fixed: mce.py degrief works again.
    > 328ffa1 - Fixed: Fix #144 in cases where the entity's Pos is NaN but the entity also has xTile, yTile, zTile fields.
    > 2745b7e - Fixed: MCServerChunkGenerator now only holds the session lock while changing the spawn point.
0.1.6build338
2012-12-03 00:01:05 -10:00
David Vierra
d39ef4136a Graphics: Add Vines 2012-12-02 18:10:03 -10:00
David Vierra
b1a962679e Graphics: Add upside-down slabs. 2012-12-02 16:59:14 -10:00
David Vierra
ea7580dd0e Graphics: Add upside-down stairs. 2012-12-02 16:51:02 -10:00
David Vierra
2c7a6575b3 Fixed: Open worlds read-only when populating the main menu world list. 2012-12-02 03:28:28 -10:00
David Vierra
25dc17389d Fixed: Paste brush now refreshes the correct area. 2012-12-01 15:50:14 -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
b19c64dca0 Catch errors while importing filters and show an alert. 2012-11-30 22:57:43 -10:00
David Vierra
ab541ed9ed Merge fixes for pull request #149 2012-11-30 16:51:28 -10:00
David Vierra
4bdbc94578 Catch SessionLockLost errors during operations and show an alert. 2012-11-30 16:50: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
8bdc3266ae Fixed: Check blockFaceUnderCursor isn't None when drawing selection reticle. 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
KaboPC
c30527bae5 Fix potential nonetype error
Add a check in get_text_and_insertion_data to prevent a possible NoneType crash.(cherry picked from commit 056dbec8e9efebd0d9663034a8dffc95d26986dd)
2012-11-30 16:50:25 -10:00
KaboPC
d1de57d6b5 Update get_text_and_insertion_data to return within bounds
get_text_and_insertion_data should now always only return values within the bounds of textL(cherry picked from commit d289baaf4d8ee416f9618e19eb98c8ecef27944f)
2012-11-30 16:50:24 -10:00
KaboPC
20e7acd5d2 Fix index out of bounds in get_text_and_insertion_data
Check size of textL before accessing.(cherry picked from commit db25b4131f3c042b3edc824550a2724433ea5b76)
2012-11-30 16:50:23 -10:00