David Vierra
34d1e30273
Block picker allows ID:meta input
2015-02-04 23:05:55 -10:00
David Vierra
c82507d397
Add button to world list for choosing any world
2015-02-04 23:05:41 -10:00
David Vierra
5a105ad8e7
Show IDs in str(BlockType)
2015-02-04 23:05:13 -10:00
David Vierra
091a86931b
ResourceLoader raises ResourceNotFound, log more info about resource loaders
2015-02-03 22:02:30 -10:00
David Vierra
98999645af
Set currentImport after removing a pending import, do some cleanup...
2015-02-02 14:42:31 -10:00
David Vierra
699783ea74
use absolute import in modelmesh to quell 'missing import' warning
2015-02-02 14:16:48 -10:00
David Vierra
d93b3e8681
Changelog?
2015-02-02 14:16:48 -10:00
David Vierra
537e217904
Read version from version.txt, note how to run mcedit2.spec
2015-02-02 09:24:35 -10:00
David Vierra
b4683d53ea
Return None for child items out of list/compound bounds - may be called when deleting the last item
2015-02-02 05:51:39 -10:00
David Vierra
eb89e9920d
beginInsertRows doesn't update the view unless the parent index's column is 0
2015-02-02 05:50:14 -10:00
David Vierra
4087c9a7e5
internal pointers nonsense didn't solve anything
2015-02-02 05:49:56 -10:00
David Vierra
e075fabdd4
nbttreeview.py->nbteditor.py
2015-02-02 05:15:22 -10:00
David Vierra
817c3a2624
More work on NBT editor
...
Adding to Compounds is possible, showing a tag type menu.
Adding to an empty list uses the menu too
setModel changed to setRootTag
tries to keep tree expand state when model changes (e.g. due to revision change)
chunk editor treeView->nbtEditor
2015-02-01 19:12:21 -10:00
David Vierra
1361389187
Only emit revisionChanged if the revision actually changed
2015-02-01 19:09:24 -10:00
David Vierra
ad4ece211f
Remove old terrain pngs (why are they even still here)
2015-02-01 03:46:10 -10:00
David Vierra
e07cc96ae5
NBT editor can add/remove from lists, displays root item as root instead of its children
...
NBTTreeView -> NBTEditorWidget
editor is a QWidget again
added add/remove buttons
expands first column when child is expanded
removed vertical borders from tree views
items have isCompound and isList
2015-02-01 03:32:38 -10:00
David Vierra
19a8c01f4f
NBT tree allows value editing, Players list allows undo for NBT value changes, remove lines from tree branch icons for now
2015-02-01 01:59:30 -10:00
David Vierra
37943a08a5
Don't override model()
2015-01-30 18:56:14 -10:00
David Vierra
cae00bbb0d
PropertyList correctly emits dataChanged
2015-01-30 18:55:24 -10:00
David Vierra
a2329f5da9
NBTTreeView now inherits QTreeView and is used in place of QTreeView in several places.
2015-01-30 18:55:14 -10:00
David Vierra
17c9256000
Set NBT tree view with correct proxy model (oops)
2015-01-30 17:54:53 -10:00
David Vierra
dfc497e5d2
Extract NBT property list widget from players tool, change it to use a model+view+delegate combo.
2015-01-30 17:39:00 -10:00
David Vierra
97baf0319d
Fix arguments to rowCount
2015-01-30 17:38:24 -10:00
David Vierra
bd0ac55d49
QTreeView borders, like in Qt Designer
2015-01-30 17:37:47 -10:00
David Vierra
2cbc356382
Capt_World's patron skin
2015-01-30 17:37:20 -10:00
David Vierra
92377f3741
centerWidgetInScreen only optionally resizes the widget to a fraction of screen size
2015-01-30 17:37:04 -10:00
David Vierra
6541e453a5
Unload cached players and metadata when changing revisions. (Move metadata up a level to WorldEditor?)
2015-01-30 17:36:40 -10:00
David Vierra
3710339966
Emit revisionChanged signal from EditorSession
2015-01-29 06:32:49 -10:00
David Vierra
7e50ea783f
Even completely unknown blocks will render as question marks
2015-01-29 06:32:24 -10:00
David Vierra
7163ac2982
Factor out function centerWidgetInScreen
2015-01-29 06:32:10 -10:00
David Vierra
c1f411221e
Get rid of "No texture" spam
2015-01-26 19:25:14 -10:00
David Vierra
f3df53ee43
Add rendering for water and lava
2015-01-26 19:25:06 -10:00
David Vierra
793ca4b733
Model renderer has lighting (finally)
2015-01-26 17:07:10 -10:00
David Vierra
30227471f6
Move NBT tree widget stuff under widgets/
2015-01-26 16:40:42 -10:00
David Vierra
1dd9eef3f6
Don't try to import folders from the schematic library
2015-01-26 16:34:26 -10:00
David Vierra
3beb64127c
Show the unknown block texture in block pickers and buttons
2015-01-26 00:32:24 -10:00
David Vierra
50087e7fb7
Don't show progress bar for small brushes
2015-01-25 21:18:38 -10:00
David Vierra
f477a2bfcf
idmapping override for torches, since MC uses meta=5 for upright torches
2015-01-25 21:00:45 -10:00
David Vierra
e211a0d94e
Remove stray loggers in multi_block
2015-01-25 21:00:20 -10:00
David Vierra
673689fc7c
Add question mark texture (and "model") for unknown blocks.
2015-01-25 21:00:13 -10:00
David Vierra
e9f18b10dc
Don't default to pc_blocktypes in WorldEditor, use adapter's types. (wtf)
2015-01-25 19:23:58 -10:00
David Vierra
ea7f17db22
Default to meta=0 when getting blocktypes
2015-01-25 19:23:37 -10:00
David Vierra
1dc929077a
Load internal names from FML name mapping. Can't do much besides name the blocks, though.
2015-01-25 19:23:03 -10:00
David Vierra
c6f11a6926
Show IDs next to internal name in status bar
2015-01-25 19:22:00 -10:00
David Vierra
35a0883b21
Start work on pluggable Generate tool
2015-01-25 11:58:26 -10:00
David Vierra
45083873da
Fix crash switching away from chunk tool
2015-01-24 17:24:38 -10:00
David Vierra
6ac442ab67
setBlocks now uses array broadcasting on its input arrays
2015-01-24 17:24:18 -10:00
David Vierra
bb89a78887
Allow world adapter to not implement createChunk
2015-01-24 17:22:23 -10:00
David Vierra
115362ef71
Add flag to world adapter to disable lighting updates
2015-01-24 17:21:59 -10:00
David Vierra
2b3a33ce22
We have a createSchematic function, use it.
2015-01-23 17:17:45 -10:00