1356 Commits

Author SHA1 Message Date
David Vierra
bd0ac55d49 QTreeView borders, like in Qt Designer 2015-01-30 17:37:47 -10:00
David Vierra
2cbc356382 Capt_World's patron skin 2015-01-30 17:37:20 -10:00
David Vierra
92377f3741 centerWidgetInScreen only optionally resizes the widget to a fraction of screen size 2015-01-30 17:37:04 -10:00
David Vierra
6541e453a5 Unload cached players and metadata when changing revisions. (Move metadata up a level to WorldEditor?) 2015-01-30 17:36:40 -10:00
David Vierra
3710339966 Emit revisionChanged signal from EditorSession 2015-01-29 06:32:49 -10:00
David Vierra
7e50ea783f Even completely unknown blocks will render as question marks 2015-01-29 06:32:24 -10:00
David Vierra
7163ac2982 Factor out function centerWidgetInScreen 2015-01-29 06:32:10 -10:00
David Vierra
c1f411221e Get rid of "No texture" spam 2015-01-26 19:25:14 -10:00
David Vierra
f3df53ee43 Add rendering for water and lava 2015-01-26 19:25:06 -10:00
David Vierra
793ca4b733 Model renderer has lighting (finally) 2015-01-26 17:07:10 -10:00
David Vierra
30227471f6 Move NBT tree widget stuff under widgets/ 2015-01-26 16:40:42 -10:00
David Vierra
1dd9eef3f6 Don't try to import folders from the schematic library 2015-01-26 16:34:26 -10:00
David Vierra
3beb64127c Show the unknown block texture in block pickers and buttons 2015-01-26 00:32:24 -10:00
David Vierra
50087e7fb7 Don't show progress bar for small brushes 2015-01-25 21:18:38 -10:00
David Vierra
f477a2bfcf idmapping override for torches, since MC uses meta=5 for upright torches 2015-01-25 21:00:45 -10:00
David Vierra
e211a0d94e Remove stray loggers in multi_block 2015-01-25 21:00:20 -10:00
David Vierra
673689fc7c Add question mark texture (and "model") for unknown blocks. 2015-01-25 21:00:13 -10:00
David Vierra
e9f18b10dc Don't default to pc_blocktypes in WorldEditor, use adapter's types. (wtf) 2015-01-25 19:23:58 -10:00
David Vierra
ea7f17db22 Default to meta=0 when getting blocktypes 2015-01-25 19:23:37 -10:00
David Vierra
1dc929077a Load internal names from FML name mapping. Can't do much besides name the blocks, though. 2015-01-25 19:23:03 -10:00
David Vierra
c6f11a6926 Show IDs next to internal name in status bar 2015-01-25 19:22:00 -10:00
David Vierra
35a0883b21 Start work on pluggable Generate tool 2015-01-25 11:58:26 -10:00
David Vierra
45083873da Fix crash switching away from chunk tool 2015-01-24 17:24:38 -10:00
David Vierra
6ac442ab67 setBlocks now uses array broadcasting on its input arrays 2015-01-24 17:24:18 -10:00
David Vierra
bb89a78887 Allow world adapter to not implement createChunk 2015-01-24 17:22:23 -10:00
David Vierra
115362ef71 Add flag to world adapter to disable lighting updates 2015-01-24 17:21:59 -10:00
David Vierra
2b3a33ce22 We have a createSchematic function, use it. 2015-01-23 17:17:45 -10:00
David Vierra
97f9e17e65 Fix crash when adding new import 2015-01-23 17:17:13 -10:00
David Vierra
cbd2b0dd24 Move BoxHandle to its own file, move boxFaceUnderCursor to selection.py, remove findBlockFace as it is superseded by rayCast 2015-01-23 16:36:57 -10:00
David Vierra
c40e29077e Move selection drag and resize logic into a BoxHandleNode class for reuse 2015-01-23 00:57:40 -10:00
David Vierra
3db1cbb9ec BlockTypeButton doesn't expand vertically by default, like a regular button 2015-01-22 15:05:30 -10:00
David Vierra
97d94530c1 Combine a spin box and a slider into a SpinSlider widget. Use it in the brush tool. 2015-01-22 15:05:11 -10:00
David Vierra
07cdd46816 Fix crash when tool has no cursorNode 2015-01-22 14:51:49 -10:00
David Vierra
93bd771575 Double clicking a pending import zooms to its center 2015-01-21 23:31:28 -10:00
David Vierra
1878917b12 Move tool allows multiple pending imports 2015-01-21 17:48:18 -10:00
David Vierra
883907ace5 Fix ObjectInspector's reload not working when a missing object reappears 2015-01-21 17:47:13 -10:00
David Vierra
f57196537b Encapsulate pending import info, preparing for multiple imports 2015-01-21 15:35:04 -10:00
David Vierra
b4de6e2ac9 Change error handler to actually crash. 2015-01-21 14:43:37 -10:00
David Vierra
abe03a4301 Begin work on schematic browser 2015-01-21 14:26:39 -10:00
David Vierra
3d64f30df7 Remove stray log from viewAction work 2015-01-20 10:41:52 -10:00
David Vierra
54c4ffa8a1 Profile augmentEvent 2015-01-20 10:41:22 -10:00
David Vierra
7c46cfa7dd Force view redraw when center pos changes
Updates minimap when turning camera
2015-01-20 10:41:09 -10:00
David Vierra
66e941e1d5 Fix zero division in profilerui 2015-01-20 10:40:43 -10:00
David Vierra
ecd796df04 Reduce distance rayCast advances through chunks from 2000 to a more reasonable maxDistance * 4
Reduces lag when aiming at the sky
2015-01-20 10:40:33 -10:00
David Vierra
d94c07d8d4 Unify view actions to accept either mouse or keyboard bindings. Bindings are now saved to settings.
To do: Mouse wheel bindings, get rid of the second binding popup
2015-01-20 01:10:03 -10:00
David Vierra
908cdb3521 Event focus set on world view when session is opened. 2015-01-20 01:08:20 -10:00
David Vierra
31af4169b9 Put log file in user data folder 2015-01-19 23:04:10 -10:00
David Vierra
fe7e841c16 Put data folder in ./ instead of ./src/mcedit when running from source (xxx work on this) 2015-01-19 23:03:52 -10:00
David Vierra
49e88faec6 Disable tool shortcuts. Find out why they override view controls. 2015-01-13 15:41:32 -10:00
David Vierra
a1e3f48f58 Camera view has WASD controls (again) 2015-01-13 15:39:54 -10:00