David Vierra
474b7b18e1
WorldView doesn't update if centerPoint is called with the same value
2015-01-13 15:39:33 -10:00
David Vierra
a9744659c6
WorldView accepts keyboard focus
2015-01-13 15:39:21 -10:00
David Vierra
814fbfcfa4
More work on worldview keybinding editor - accepts keypresses including lone modifier keys
2015-01-13 15:38:41 -10:00
David Vierra
e2c81bec72
Add keypress action handlers to worldview
2015-01-13 15:37:00 -10:00
David Vierra
0f0c6a4536
Keep profiler enabled for now
2015-01-12 15:59:16 -10:00
David Vierra
73806f9fc0
SelectionScene is transparent again, now excludes air blocks using a composed selection
2015-01-12 01:04:32 -10:00
David Vierra
fb2ddf388c
WorldView mouseover handles ChunkNotPresent more sensibly
2015-01-12 01:04:31 -10:00
David Vierra
cc8f475e2a
ChunkGroupNode now implements containsChunkNode
2015-01-12 01:04:31 -10:00
David Vierra
72619a8483
readChunk now propagates ChunkNotPresent correctly
2015-01-12 01:04:30 -10:00
David Vierra
a1c6e32e64
Move chunkPositions and sectionPositions to SelectionBox
...
Now requires min/max cx/cy/cz to be implemented by subclasses
2015-01-12 01:04:30 -10:00
David Vierra
ecec87c7d0
VertexRenderNode no longer assumes anything about the enable state of GL_TEXTURE_2D on GL_TEXTURE0.
...
It still assumes GL_TEXTURE1 is enabled if lightcoords are present.
2015-01-12 01:04:30 -10:00
David Vierra
aeac1b1883
Camera view skips chunks outside the view distance (chunks that would be offered because the minimap loaded them)
2015-01-12 01:04:29 -10:00
David Vierra
ff17731cf8
iterateChunks has a radius parameter, not diameter
2015-01-12 01:04:29 -10:00
David Vierra
494c992fda
Increase camera view distance, ensure view distance changes update the scene
2015-01-12 01:04:28 -10:00
David Vierra
3d8e524186
Add benchmark for SelectionScene
2015-01-12 01:04:28 -10:00
David Vierra
52b7261837
Add a few more profiler calls
2015-01-12 01:04:27 -10:00
David Vierra
8ad5823f06
Profiler widget shows time not taken by children in a "self" column, instead of as an (other) node.
...
Zero div error in ProfilerWidget
2015-01-12 01:04:24 -10:00
David Vierra
dbfdd44047
Render small selections immediately
2015-01-11 01:30:32 -10:00
David Vierra
641f0b338b
Don't stupidly recalculate renderType lookup table for each section
2015-01-11 01:30:14 -10:00
David Vierra
af1b889f93
Profiler widget has alternating colors
2015-01-11 01:29:11 -10:00
David Vierra
9b458c3369
Remove some dead code
2015-01-11 01:28:54 -10:00
David Vierra
50425f384f
Fix error when changing shape with no selection
2015-01-11 01:27:47 -10:00
David Vierra
bc3b1861c0
ShapeWidget buttons now toggle exclusively
2015-01-11 01:27:19 -10:00
David Vierra
eab84b737d
Whoops, ZeroBox is actually used
2015-01-11 01:21:02 -10:00
David Vierra
68ea8b823b
BoundingBox -> mceditlib.selection
2015-01-10 12:14:28 -10:00
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