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
David Vierra
3a50f0752e
Don't check isinstance(value, refClass) because refClass may not be a class (???)
2015-05-06 21:38:57 -10:00
David Vierra
3a6e680212
Inventories are now editable
2015-05-06 21:38:30 -10:00
David Vierra
93be64f585
Set debug=True for the pyinstaller exe to get more info about launch failures
2015-05-05 05:52:25 -10:00
David Vierra
7e1c7b7a82
Add Item IDs from FML tag
2015-05-05 05:51:47 -10:00
David Vierra
722f7ad507
Make chests look like door-boxes for now. Chest graphics are kept as an entity model with the texture as a model sheet...
2015-05-05 05:51:31 -10:00
David Vierra
366aba874d
Inspector now has editor-widget classes registered for different tile entities
...
Add editors for Chest, Dispenser, Hopper
Add TileEntityRefs for above
Change InventoryEditor to accept a slotLayout
Move player slotLayout to player panel
Remove 'slotCount' from InventoryItemModel, which is no longer a ListModel because it freaks out when rowCount is 0
xxx move slotLayout to InventoryItemModel
2015-05-05 05:50:58 -10:00