1266 Commits

Author SHA1 Message Date
David Vierra
d5c3e3108f Re-enable lighting update for "Replace Blocks" 2016-03-02 02:45:04 -10:00
David Vierra
7d53403a29 Move brush mode widget below size widgets 2016-02-17 11:18:32 -10:00
David Vierra
e964924316 Starting selections on nearby blocks no longer defaults to face Y+ 2016-02-14 05:17:59 -10:00
David Vierra
971fa25d84 Mess around with the appearance of selection boxes 2016-02-14 05:17:43 -10:00
David Vierra
dfe9aa9ddc Right-click now toggles mouselook
This can be disabled with the "Sticky Mouselook" option.
2016-02-14 05:11:30 -10:00
David Vierra
12dae3d174 Fix Square shape returning the existing shaped selection 2016-02-12 18:23:55 -10:00
David Vierra
94757bdccd Make sure BoundingBoxes of different classes compare differently 2016-02-12 18:16:08 -10:00
David Vierra
7dd5dd8c08 Changing min values resizes selection instead of moving it 2016-02-12 18:15:54 -10:00
David Vierra
fd66486e2a Add brush mode "Replace" 2016-02-09 16:40:39 -10:00
David Vierra
106623f240 Add a button widget for selecting block replacements 2016-02-09 16:40:20 -10:00
David Vierra
fb20234fd4 Add a new supporter 2016-02-08 18:12:31 -10:00
David Vierra
4d5348346c Add default impl for BrushMode.getOptions 2016-02-08 17:16:48 -10:00
David Vierra
45d50daca9 BrushTool.updateCursor handles missing cursors/boxes 2016-02-08 17:16:31 -10:00
David Vierra
18578b574f Lower log to debug level in BlockTypeIcon 2016-02-08 17:16:11 -10:00
David Vierra
0d3ebf10a8 Brush tool option layout has better flow now 2016-02-08 17:15:51 -10:00
David Vierra
114e3341ad BlockTypes.allBlocks now remains sorted and enforces uniqueness 2016-02-08 17:12:06 -10:00
David Vierra
1b49c25b36 Remove BrushMode.createOptionsWidget; start on Replace mode 2016-02-07 02:25:38 -10:00
David Vierra
7a29eb745e Handle very short brush drags; extract method hoverPosition 2016-02-07 02:25:12 -10:00
David Vierra
90302bc795 New rows in replacement list start empty on the left 2016-02-07 01:36:03 -10:00
David Vierra
0542161fe0 BlockTypesButton or BlockTypesItemWidget can display "No blocks" 2016-02-07 01:35:49 -10:00
David Vierra
f33065c86b Fix display issues with multi-blocktype icons 2016-02-07 01:31:46 -10:00
David Vierra
bfafe53209 Extract block replacement list to its own widget 2016-02-07 01:20:31 -10:00
David Vierra
14702978f5 Remove unused .ui file 2016-02-07 01:19:46 -10:00
David Vierra
35cf39d9c3 Make threaded WorldView buffer swaps optional 2016-02-06 23:46:54 -10:00
David Vierra
2ec18c1e9b Add Remove Entity button to entity inspector 2016-02-06 23:46:54 -10:00
David Vierra
d05a5e3509 EntityListProxy will now dirty its chunk on changes/inserts/removes 2016-02-06 23:44:48 -10:00
David Vierra
6fe1d4b9aa Collect garbage after changing views in WorldList
If the old view is reaped mid-frame, it calls makeCurrent and screws
with the current rendering.
2016-02-06 23:44:21 -10:00
David Vierra
fbec27a9e0 Fix waiting for wrong variable in waitForSwapThread 2016-02-06 23:03:08 -10:00
David Vierra
2be029047a Fix NoContext error because buffer swap thread fires after it is awaited 2016-02-06 23:01:21 -10:00
David Vierra
078e9baf6d Fix empty editor tab captions 2016-02-06 22:30:14 -10:00
David Vierra
5b7dace2fe Implement EntityListProxy.remove() 2016-02-04 23:17:15 -10:00
David Vierra
e6b0e7c471 Parent MCEDockWidgets to the main window, make Inspector floating 2016-02-04 13:29:16 -10:00
David Vierra
98fea77f71 WorldView now waits for the swap thread before calling makeCurrent. 2016-02-04 13:04:53 -10:00
David Vierra
9c0b1197c0 WorldList's list of saves folders now includes saves from all installs
And MMC instances.  Saves folders picked with the "choose" button, and
the most recently picked saves folder, are now saved to the app
settings.

TODO: Automatically switch install/version to match the chosen saves
folder.
2016-02-04 13:04:26 -10:00
David Vierra
af0468676f In FillBlocksOperation, make sure skipped and sections match 2016-02-02 14:09:12 -10:00
David Vierra
a8ef77de10 Fix bad parameter in bench_temp_file
Need a real fix, py.path.local.mkdtemp isn't a nice as I thought
2016-02-02 14:08:46 -10:00
David Vierra
b089d6f871 Add benchmark for filling at ceiling level, to test skylight performance 2016-02-02 14:08:18 -10:00
David Vierra
4389c4640d Restore single-click brush action 2016-02-01 02:41:30 -10:00
David Vierra
a7f123d2b4 Max texture size is fetched using an offscreen context 2016-02-01 02:36:15 -10:00
David Vierra
d3aa593a58 Remove incorrect super call in EditorTab.dealloc 2016-02-01 02:35:58 -10:00
David Vierra
0d46eed895 Separate TextureAtlas image building from GL resource creation
Fixes the problem with initial brush cursors not appearing by allowing
brushes to create cursor geometry before the world view is created.
2016-01-31 23:34:53 -10:00
David Vierra
ee16ede402 IntersectionBox now uses a list of selections rather than just two 2016-01-31 23:10:07 -10:00
David Vierra
483ab6ca05 Biome brush is now a chunkwise operation 2016-01-31 23:09:40 -10:00
David Vierra
49f4f70f74 Stop error dialog from displaying many times at once 2016-01-31 22:40:43 -10:00
David Vierra
5683804ab8 Rewrite UnionBox.contains_coords for subselection list 2016-01-31 20:15:21 -10:00
David Vierra
f3ff47a445 Implement positions() on SelectionBox (slow) 2016-01-31 20:14:40 -10:00
David Vierra
d897aaaaae Rewrite docstrings in SelectionBox 2016-01-31 20:14:11 -10:00
David Vierra
a7b0b64578 Fix divide-by-zero in rescaleProgress 2016-01-31 20:13:55 -10:00
David Vierra
76090f6d36 BrushCommand uses UnionBox instead of reduce to combine selections 2016-01-31 20:02:48 -10:00
David Vierra
2c7045d6fc ShapeFuncSelection creates coordinate array using mgrid, not indices 2016-01-31 20:02:28 -10:00