David Vierra
251d632d55
Add a dummy syncToDisk so tests on schematics can run
2015-03-14 07:58:56 -10:00
David Vierra
d92ad6ec12
Fix blocktypes in testFill()
2015-03-14 07:43:30 -10:00
David Vierra
f0b3f79a32
Add sphinx extension to use non-underscore names in built html, so GH pages doesn't exclude them.
2015-03-13 12:57:33 -10:00
David Vierra
622dd47c58
apidoc skeletons.
2015-03-13 12:07:54 -10:00
David Vierra
640eec4cc4
entitiesOnRay checks the distance from the (displayed) entity's center instead of its lower left. Increase checking distance.
2015-03-13 09:35:01 -10:00
David Vierra
7c30807da5
NBT find/replace just barely works now. Separate NBT tab out of find_replace.ui into its own ui file.
2015-03-13 09:34:26 -10:00
David Vierra
e0e83cfa91
Make selection face hover have a thick outline, and make it cut into terrain. Change selection color to be different from unknown block.
...
Remove dead code.
2015-03-13 09:34:17 -10:00
David Vierra
51d8cbf1b6
BlockTypeSet accepts namePrefixes other than "minecraft:"
2015-03-10 08:51:43 -10:00
David Vierra
f5348df6b1
Correctly preserve selected blocks across searches, don't remove custom blocks
2015-03-10 08:50:56 -10:00
David Vierra
64710644e1
Several fixes to (multi-)BlockPicker
...
ID:meta searches are possible again, and use regex for better detection
Proxy model is used for the list of selected items on the right
Selected items correctly persist when the search box is used
Selected block(s) are displayed on the bottom using a BlockTypesItemWidget
Layout tweaks
2015-03-10 05:20:09 -10:00
David Vierra
3045d940b2
Fix BlockTypePicker init arguments
2015-03-10 02:13:16 -10:00
David Vierra
0cc3bf4802
Remove now-pointless BlockTypePicker singleton
2015-03-09 04:09:31 -10:00
David Vierra
e2c4959f51
Clean up Edit menu creation
2015-03-09 03:49:40 -10:00
David Vierra
267f77c829
Model-based blocktype list is more fully functional, uses QSortFilterProxyModel for searches
2015-03-09 03:49:40 -10:00
David Vierra
99c6a183f1
Move replace command into to new find/replace dialog, begin work on NBT find/replace
...
xxx FindReplaceDialog
2015-03-09 03:49:37 -10:00
David Vierra
c49db92144
Begin converting BlockTypeListWidget to use a model and delegate instead of itemWidgets.
2015-03-05 05:20:07 -10:00
David Vierra
e7b30cd096
Don't use numpy at all in cookQuads - compute array elements directly
2015-03-05 03:35:44 -10:00
David Vierra
f4c997a6ee
Static defs in buildBoxQuads
2015-03-05 03:21:23 -10:00
David Vierra
ecf57c0a95
Static defs and common subexprs in BlockModels.__init__
2015-03-05 03:17:11 -10:00
David Vierra
81f35b808b
Don't uselessly create FloatBoxes, add static types in buildBoxQuads
2015-03-05 02:16:32 -10:00
David Vierra
9f1163f69e
Fix incorrect face used for shading in rotated variants (e.g. stairs)
2015-03-05 02:14:29 -10:00
David Vierra
ca58a60fc6
Don't create a new ndarray for each getBlockFaceVertices call
2015-03-05 01:31:33 -10:00
David Vierra
f4124610a3
Unwrap box and uv before putting them into FaceInfo, unwrap texCoords in getBlockFaceVertices
2015-03-05 01:25:16 -10:00
David Vierra
48241e047e
import numpy ->np, cnp, internalize faces.py, add FaceInfo class to replace big tuples, precalculate element rotation matrix, write out matrix multiplies, use array initializers in getBlockFaceVertices
2015-03-05 00:08:50 -10:00
David Vierra
35eafa1c83
Strings should be unicode, as those from json data also are
2015-03-04 23:20:08 -10:00
David Vierra
ab70a16418
Add static types in cookQuads
2015-03-03 08:30:22 -10:00
David Vierra
f11115debf
Cache results of npRotate
2015-03-03 08:30:22 -10:00
David Vierra
9901135218
Compute variant rotation matrix only once for a variant, instead of for each element face
2015-03-03 08:30:21 -10:00
David Vierra
d4aa2893f6
Add isList and isCompound to NBT tags, fix an earlier bad rename
2015-03-03 08:30:20 -10:00
David Vierra
69380c9546
Fold storeQuads into cookQuads to avoid calling it a billion times for the unknown blocks. Sacrifice the cookedModels dict for now.
2015-03-03 08:30:20 -10:00
David Vierra
ed75d29433
Enable profiling?
2015-03-03 08:30:19 -10:00
David Vierra
c7645997f2
Repair time_loadmodels after changes to minecraftinstall
2015-03-03 08:30:19 -10:00
David Vierra
08290cefa7
Multiple select block picker is now double column (needs checkboxes, better highlighting for left column)
2015-02-24 21:41:43 -10:00
David Vierra
ce2e67ffb2
Better entity stats in copyBlocks
2015-02-24 21:41:09 -10:00
David Vierra
d9606b9f95
Add selection menu with just "Select All" for now
2015-02-24 21:40:42 -10:00
David Vierra
5f83e9787b
Fix entity box rendering by disabling textures
2015-02-18 19:12:54 -10:00
David Vierra
4d4dfb0fc7
Edit entity properly saves changes by connecting to nbtEditor.editMade (why???)
2015-02-18 19:12:40 -10:00
David Vierra
fadc81f3d3
Improve log message in block_fill
2015-02-18 19:12:09 -10:00
David Vierra
9f15c42984
Overhead view has camera vector
2015-02-18 19:11:58 -10:00
David Vierra
85ae144e6a
Catch SessionLockLost when saving a world
...
Display a message and close the world.
2015-02-18 19:11:00 -10:00
David Vierra
fb64391a22
WorldEditorChunk now maintains a list of [Tile]EntityRefs instead of AnvilChunkData
2015-02-18 19:09:36 -10:00
David Vierra
e0f27e590b
Allow findVersion1_8 to accept (1, 8, ".2")
2015-02-11 09:58:57 -10:00
David Vierra
8d416b763d
Excepthook override needs the logging module to work, so setup logging first.
2015-02-11 04:48:10 -10:00
David Vierra
57f69916eb
Mousewheel binding works, cutaway view shows view controls
2015-02-08 09:24:05 -10:00
David Vierra
97d4cb0e6a
showProgress does eight iterations before showing the progress dialog
2015-02-08 09:23:34 -10:00
David Vierra
c8c577f63f
Only warn about unusable installs when disabling them
2015-02-08 01:08:45 -10:00
David Vierra
a7436d7d34
Try to handle worlds that have no players
2015-02-06 21:43:09 -10:00
David Vierra
e17f7af634
findVersion1_8 doesn't take modded or prerelease versions
2015-02-06 21:30:35 -10:00
David Vierra
a7cf8b5853
Fix minecraft installs dialog not opening when no installs are found
2015-02-06 18:37:16 -10:00
David Vierra
9cd98a51e8
spacing
2015-02-06 18:35:50 -10:00