1063 Commits

Author SHA1 Message Date
David Vierra
5adf2457d2 Only emit SelectionCoordinateWidget.boxChanged when the user changes the inputs 2015-01-06 12:30:58 -10:00
David Vierra
ff8922fc5d Add getBlock, returning a BlockType, and use it in findBlockFace (wait, isn't this replaced by raycast?) 2015-01-06 12:28:34 -10:00
David Vierra
29b5fa2b28 organize editorapp.py 2015-01-06 11:25:07 -10:00
David Vierra
de969c05f1 Move currentSelection and selectionChanged to EditorSession 2015-01-06 11:20:59 -10:00
David Vierra
2074faa840 session.selectionBox -> currentSelection 2015-01-06 10:42:50 -10:00
David Vierra
767a966bba EditorSession now provides menus, so it can toggle menuAction.enabled as needed 2015-01-05 20:21:28 -10:00
David Vierra
4c5b81847e Tighten up margins in EditorTab 2015-01-05 15:43:55 -10:00
David Vierra
244f9ad926 Check margin keyword to Row/Column is not None 2015-01-05 15:41:55 -10:00
David Vierra
ea730d0cf1 Remove pyuic testing junk 2015-01-05 15:38:58 -10:00
David Vierra
757a16dd8e CONTRIBUTING.md: mcedit 1.x issues 2015-01-05 12:26:30 -10:00
David Vierra
c9b6a974f9 LICENSE.txt -> LICENSE.md 2015-01-05 00:06:27 -10:00
David Vierra
48b615af03 Colorize leaves, grass, herbs, redstone, etc. Disable cython profiling. Change offsets to size_t just in case. 2015-01-04 21:45:02 -10:00
David Vierra
7c8704969f ...and just disable it entirely for now. lots of things don't look right until the alpha is fixed. 2015-01-04 21:24:32 -10:00
David Vierra
fb85782308 check bool(GL.glGenerateMipmap) xxxx don't use it at all, generate mips w/numpy 2015-01-04 18:13:56 -10:00
David Vierra
3806d4b59f Destroy lists when removing children from rendergraph, make parent link a weakref to avoid cyclic refs/gc 2015-01-04 15:46:40 -10:00
David Vierra
bdb8233f91 cullface is an int, compare with None 2015-01-04 15:38:22 -10:00
David Vierra
238e0a134a updateStatusLabel with None when no block is found 2015-01-04 12:46:52 -10:00
David Vierra
801307e069 Store cooked models as structs instead of list of tuples - now the important loops are all white (C code) but it leaks memory 2015-01-04 12:46:40 -10:00
David Vierra
864990429d Only cook quads when needed - speeds up world list 2015-01-04 10:53:31 -10:00
David Vierra
cd632c6737 ignore nbt.html 2015-01-03 17:14:38 -10:00
David Vierra
62c15ac369 cookedModelsByID is now an object array instead of a dict 2015-01-03 17:14:14 -10:00
David Vierra
1eab1409a9 set xyzuvs coords by adding ndarray, not tuple 2015-01-03 17:06:49 -10:00
David Vierra
a4c6ae6fff cdef section.Data 2015-01-03 15:34:55 -10:00
David Vierra
b0e84c9e9b fix uv scaling for animated (non-square) textures 2015-01-03 14:40:05 -10:00
David Vierra
e64508e50a Profile pyx 2015-01-03 14:30:04 -10:00
David Vierra
d200e310ea Don't cook quads if testing without GL 2015-01-03 14:29:54 -10:00
David Vierra
472f248063 disable bounds checking 2015-01-03 13:43:39 -10:00
David Vierra
af03a744b6 rotate textures without looping 2015-01-03 13:42:46 -10:00
David Vierra
1e80460405 cdef several int/float variables 2015-01-03 13:39:27 -10:00
David Vierra
c23cad678b store cooked models by id, meta. remove face from quad tuples 2015-01-03 13:27:14 -10:00
David Vierra
d997a44264 Break apart loops into cythonizable ones 2015-01-03 13:18:57 -10:00
David Vierra
cd52c59518 Allow modelMesh.createVertexArrays to optionally return an iterator 2015-01-03 13:14:22 -10:00
David Vierra
c39f2c19ee extract method rotateVertices
xxx extract method
2015-01-03 13:14:15 -10:00
David Vierra
5e2b792591 extract method buildBoxQuads 2015-01-03 13:13:55 -10:00
David Vierra
1b766e5fd9 cache blockstate jsons 2015-01-03 12:56:57 -10:00
David Vierra
e63ced7a4a move block models to cython 2015-01-03 12:34:19 -10:00
David Vierra
009ea2f1ac Remove pywin32 from requirements 2015-01-02 18:20:17 -10:00
David Vierra
bd74574c3d Merge branch 'pr/n8_MasterEjay' 2015-01-02 18:19:26 -10:00
Eric Zeiberg
97d37c815b Add more detail to the Linux / OSX instructions 2015-01-02 23:12:35 -05:00
David Vierra
080a8b63d6 Proffread README.md 2015-01-02 16:31:15 -10:00
David Vierra
3b63df554c Progress logs when loading models 2015-01-02 15:58:48 -10:00
David Vierra
4ccd17e434 Fix error in low detail when any column height=0 (still displays height=1 as empty) 2015-01-02 15:58:47 -10:00
David Vierra
caf8ef66d7 Pass None when creating GL_PROXY_TEXTURE_2D in the hopes it will be interpreted as a null pointer 2015-01-02 15:58:47 -10:00
David Vierra
4f2e649ff8 Handle element rotation, texture rotation, variant rotation, correct texture alignment problems and shading values 2015-01-02 15:58:46 -10:00
David Vierra
0ac2511985 Enable face culling for textureatlas nodes 2015-01-02 15:58:46 -10:00
David Vierra
636934b71a Move Player command works, use player's rotation when opening first view 2015-01-02 15:58:45 -10:00
David Vierra
f8025c890d Status bar shows blockState under the cursor 2015-01-02 15:58:45 -10:00
David Vierra
997178e7a0 TAG_COMPOUND -> ID_COMPOUND et al 2015-01-02 15:58:45 -10:00
David Vierra
cac8d300f5 dump renderType as int, not string, handle maxLOD=0 in textureAtlas 2015-01-02 15:58:44 -10:00
David Vierra
bcf904c548 BlockModelMesh -> modelmesh.py 2015-01-02 15:58:44 -10:00