David Vierra
44f601a641
Select tool creates shaped selections.
...
Move brush shapes to mceditlib.selection
BrushShapeWidget -> mcedit2.widgets.shapewidget.ShapeWidget
New class SelectionScene renders selections as opaque white cubes
Change text of resize/deselect history commands
BoundingBox compares against None without crashing, has sensible repr again
2015-01-10 11:55:19 -10:00
David Vierra
78ae05608f
VertexArrayBuffer correctly computes its element offsets instead of using the weird guesses in rendering.slices
2015-01-10 11:19:42 -10:00
David Vierra
b743217870
Clear undo block before saving, adjust comments
2015-01-09 18:14:46 -10:00
David Vierra
85cf1808e2
Add property list to player editor (xxx still needs undo, so does chunk property editor)
2015-01-09 00:27:59 -10:00
David Vierra
1cf80795af
Move tool moves "things"
2015-01-09 00:27:04 -10:00
David Vierra
b4e1c43f9a
Multi-command paste and move operations - Start, Move, Finish are recorded in history
...
...and add some type info
2015-01-09 00:05:00 -10:00
David Vierra
98ff85b544
Move undo block logic to new class MCEUndoStack, change Edit menu to use stack-provided actions
2015-01-08 22:43:10 -10:00
David Vierra
dcc326fd2b
Schematic adapter fakes Biomes array at the correct size
2015-01-08 22:41:57 -10:00
David Vierra
318c1b15da
Add NBTUUIDAttr class, add UUID attribute to player ref
2015-01-08 22:41:37 -10:00
David Vierra
1d6b65f7cd
Hide hovers when selection tool is inactive
2015-01-08 22:41:16 -10:00
David Vierra
993d348bfe
Non-NBT chunk editor (is this really necessary)
2015-01-08 15:41:41 -10:00
David Vierra
a206ab5336
Player Tool is now a Panel
2015-01-08 14:59:44 -10:00
David Vierra
a83977da99
resourcePath finds stuff relative to parent dir of mcedit2 module (src/), not current dir
...
allows mcedit2 script to run from any dir in source installs
2015-01-06 18:58:06 -10:00
David Vierra
e0438afbcb
Get pyinstaller working again w/new install instructions
2015-01-06 18:57:12 -10:00
David Vierra
559ffd4875
Move translation folder under src/mcedit2
2015-01-06 17:02:25 -10:00
David Vierra
7cc2876c0e
Remove testing junk from replace.py
2015-01-06 15:09:23 -10:00
David Vierra
069001d6b1
BlockTypePixmap shows textures again. BlockTypeSet[] prepends namePrefix again.
2015-01-06 15:09:10 -10:00
David Vierra
e0128c9921
enable/disable Edit menu commands according to undo stack state and selection state
2015-01-06 14:22:23 -10:00
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