Rubisk
74c6db1e75
Fixed some small issues with the Analyze Output Panel
2015-05-12 14:09:13 +02:00
Rubisk
eed2c52b78
Updated analyze UI
...
Implement all of CW's feedback/change requests, and updated the analyze
UI.
Next up is export buttons.
2015-05-12 13:38:58 +02:00
Rubisk
fa65763c10
Basic Analyze Tool
...
Just some first things.
2015-05-12 13:38:54 +02:00
Rubisk
fde3d1624b
Fixed an issue causing the fill tool to crash.
2015-05-12 13:38:51 +02:00
David Vierra
7cb73dacf7
Monkeypatch codecs.getwriter to not attempt decoding bytes written to stdout/stderr
2015-05-11 20:59:12 -10:00
David Vierra
e2ce7f170f
Remove junk from old dynamically loaded tools
2015-05-11 20:58:49 -10:00
David Vierra
8429a8d0f5
QComboBox.textChanged was renamed to editTextChanged in Qt4
...
Apparently there is compatibility in place for my version of PySide, but not for some others.
2015-05-11 20:58:29 -10:00
David Vierra
b2c63b4dbe
Fix AttributeError in BlockTypeButton after changing textureAtlas to editorSession
2015-05-11 20:57:56 -10:00
David Vierra
103a5d9728
Fold createToolWidget into SelectBlockTool.__init__
2015-05-11 18:24:08 -10:00
David Vierra
3e2b004cea
More documentation to Vector
2015-05-11 18:23:44 -10:00
David Vierra
699143d916
showProgress displays the dialog after 0.5 seconds instead of after 8 iterations
...
showProgress only accepts a tuple as a status result
2015-05-11 18:18:24 -10:00
David Vierra
ff619ece06
Document geometry.Vector, change __repr__ to return something that can be evaluated
2015-05-11 18:17:39 -10:00
David Vierra
ffc803e7fb
Generate tool now has a rudimentary plugin API and can actually apply a generated object to the world.
...
Add a liveUpdate option
Catch any errors while running the generator and disable liveUpdate if one is caught.
2015-05-11 18:16:37 -10:00
David Vierra
4e507be484
Add setBlock function to WorldEditor
...
Combines the functions of setBlockID and setBlockData. Takes a BlockType or any value convertible to a BlockType
2015-05-11 18:16:29 -10:00
David Vierra
a2c9093ee4
Fix calls to os.path.expanduser with unicode strings.
...
expanduser does not handle unicode strings correctly, tries to decode using ASCII instead of FS encoding. Only workaround is to pass bytestrings
2015-05-11 18:16:19 -10:00
David Vierra
1961997d20
Fail hard when sys.executable does not exist.
...
To help diagnose a problem with sys.executable not having a useful path when the app is in a non-ASCII folder. The user data folder can end up in a completely different location as a different series of folders is created.
2015-05-11 18:15:58 -10:00
David Vierra
30f1ad3e7a
Use a lenient encoder for stdin/out/err to avoid encoding errors when printing to a Windows console.
2015-05-10 01:26:48 -10:00
David Vierra
e0ed1b5048
Disable profiling in blockmodels.pyx to avoid a bug with cython0.22+memoryviews+MSVC
2015-05-09 03:04:24 -10:00
David Vierra
1cd59bc0e4
Add note to readme about updating setuptools
2015-05-09 03:03:28 -10:00
David Vierra
346f5c7c73
Schematics are now exported with an ItemIDs mapping and an itemStackVersion value.
...
Remove and comment out some dead/unused code. INVEditChest shouldn't be important now that we have an inventory editor.
2015-05-08 23:11:02 -10:00
David Vierra
839ae3c3d3
Get selection highlight to display again by connecting to editorSession.dimensionChanged
2015-05-08 23:09:49 -10:00
David Vierra
608940a11c
Document nbt.walk
2015-05-08 22:03:08 -10:00
David Vierra
3991cb087c
BlockTypes return default values for blocks without jsons
2015-05-08 19:23:44 -10:00
David Vierra
19ed34f4ac
extractZipSchematic is dead, for now.
2015-05-08 19:23:23 -10:00
David Vierra
45c8a970d6
Move walkNBT to nbt.walk
2015-05-08 19:23:01 -10:00
David Vierra
7f6e9bb9ef
Move dead itemstack conversion code to entities.py and revive it. Use it later for world conversion?
2015-05-08 19:22:41 -10:00
David Vierra
69f7f3696f
NBTEditorWidget now emits tagValueChanged when a value is changed. More signals soon, maybe?
2015-05-08 16:12:50 -10:00
David Vierra
ef302935a2
Change "no model found" to a debuglog to remove spam
2015-05-08 14:46:38 -10:00
David Vierra
30cf6c4197
Add display name label to inventory editor. Rename "name" to "displayName" in data files. Add fallback for items without a defined displayName.
...
xxx add unlocalizedName and load Minecraft translation files?
2015-05-08 13:38:34 -10:00
David Vierra
b474a8dca2
Note about BlockTypeSet vs ItemTypeSet
2015-05-08 12:59:07 -10:00
David Vierra
9e9402c20b
Start working on createItemInSlot as a way of getting pre-parented ItemStacks
2015-05-08 12:59:07 -10:00
David Vierra
d64b33d142
Changing the data in one of the item's fields updates all the others, including the NBT Editor.
...
...updating the NBT editor doesn't update the fields...
2015-05-08 12:59:06 -10:00
David Vierra
4b6633dbeb
rawIDInput is now a spinbox with min and max
2015-05-08 12:59:06 -10:00
David Vierra
492fbcaad5
Don't return None for all data roles when the itemType can't be found - it's only needed for the icon
2015-05-08 12:59:05 -10:00
David Vierra
12aa39470c
Typing an unmapped internalName for a 1.7 ItemStack no longer raises an error
2015-05-08 12:59:05 -10:00
David Vierra
dab82c9691
Clicking an item in the itemtype list now changes the current itemstack's itemtype
2015-05-08 12:59:04 -10:00
David Vierra
392fa77900
Remove spacer below player Inventory box for now
2015-05-08 12:59:04 -10:00
David Vierra
91a0b9548d
Hide the raw ID fields for 1.8 inventories, since the only ID is the internalName
2015-05-08 12:58:57 -10:00
David Vierra
18e0563394
Select Block is no longer undoable
2015-05-08 12:58:56 -10:00
David Vierra
f12859e589
InventoryView slot buttons now highlight when clicked
2015-05-08 12:58:56 -10:00
David Vierra
13554eeeba
ItemStackRef now raises NoParentError when trying to set the internalName of a 1.7 stack or the numeric ID of a 1.8 stack.
...
A parent is needed to find the parent world's itemTypes in order to convert the ID.
2015-05-08 12:58:55 -10:00
David Vierra
b1cbaf368d
Do not try to auto-convert ItemStacks. This goes against the principle of preserving as much of the unknown parts of the save file as possible.
2015-05-08 12:58:54 -10:00
David Vierra
e5aa8724a7
NBTEditor now operates on NBTCompound/ListRefs, which will propagate the 'dirty' flag up to their containing chunk.
...
The silly editWasMade signal is now gone.
2015-05-08 12:58:54 -10:00
David Vierra
e0a7133947
Close all panels when closing EditorSession
2015-05-08 12:58:53 -10:00
David Vierra
59b1448e12
Don't make edits to the itemstack when a different stack is clicked
2015-05-08 12:58:48 -10:00
David Vierra
0dd435ce68
Itemtype list is now searchable
2015-05-07 20:04:11 -10:00
David Vierra
71366ffc39
ItemTypeList now has data roles for internal name and damage
2015-05-07 20:03:39 -10:00
David Vierra
3b6c8d38c8
Fix ItemStackRef.id comparing the tagID to the tag class instead of the ID constant
2015-05-07 20:03:03 -10:00
David Vierra
80dd2d29b4
Fix ItemType.repr trying to make None into digits
2015-05-07 20:02:22 -10:00
David Vierra
842bf33797
Inventory edits are now undoable
2015-05-07 14:28:28 -10:00