David Vierra
0775308066
Cleanup
2015-09-16 05:30:15 -10:00
David Vierra
0bf29a721b
Touch up history icon
2015-09-16 04:21:29 -10:00
David Vierra
78ce5128fb
Add create argument to getChunks
2015-09-16 04:20:39 -10:00
David Vierra
eaff7efa52
Add option to copyBlocks for replacing unknown blocks with a specific block ID
2015-09-15 20:41:25 -10:00
David Vierra
9967550ed9
Fix brush mode always resetting to "Biome"
2015-09-15 01:39:46 -10:00
David Vierra
6690a1cad5
Brutal solution to making sure EditorSession gets dealloc'd.
...
Brutal.
2015-09-15 01:28:22 -10:00
David Vierra
a658f2f9bf
Make some more dockwidgets fade to transparent
2015-09-15 01:27:25 -10:00
David Vierra
047978ea52
DON'T EVER capture self
in a closure like this!
...
When a Qt signal is connected to a function that closes over any references, the GC can't ever detect this cycle: self -> some QObject -> Signal handler wrapper -> function with closure -> self.
ALWAYS use QSignalMapper instead of doing this crap!
2015-09-15 01:12:22 -10:00
David Vierra
8f481911c0
Touch up some more icons.
2015-09-15 01:08:44 -10:00
David Vierra
dbb9f5871f
Version/Resource Pack buttons reorganize when toolbar labels are off.
2015-09-15 00:14:43 -10:00
David Vierra
e9ec1e7d2f
Remove logger.
2015-09-15 00:13:59 -10:00
David Vierra
9da20b153f
Add some new icons, touch up some existing icons
2015-09-14 23:53:33 -10:00
David Vierra
bde6ab2df8
MCEDockWidget has an optional fade in/out when mouse enters/leaves.
2015-09-14 23:01:50 -10:00
David Vierra
b6dc6ffe14
Don't show debug windows in the panels toolbar.
2015-09-14 23:01:25 -10:00
David Vierra
01bb815ebd
Create custom QDockWidget subclass
2015-09-14 22:19:20 -10:00
David Vierra
affdddfb6c
Add icons for "Toolbar Text" and "History"
2015-09-14 22:19:00 -10:00
David Vierra
0d49345f29
Changing the time of day also changes the sky color.
2015-09-14 18:01:25 -10:00
David Vierra
b236de9611
Add setDayTime function to SkyNode
...
TODO: Stars?
2015-09-14 18:00:43 -10:00
David Vierra
dfe7c2f145
NBT edits only create edit commands when the value is actually changed.
2015-09-14 17:53:07 -10:00
David Vierra
659826b702
Fix chunk inspector widgets causing edit commands on load.
2015-09-14 17:50:42 -10:00
David Vierra
3f32fe0ec1
Numpy warning: Fix float division result used for shape of unpacked data.
2015-09-14 17:47:23 -10:00
David Vierra
c804a5e945
Add button to toggle toolbar text
2015-09-14 16:51:39 -10:00
David Vierra
48e71161f0
Changing resource pack/minecraft version displays a (static) progress window.
2015-09-14 15:34:34 -10:00
David Vierra
0d5a50e691
Numpy warning: Explicitly use 'unsafe' casting when scaling uint8 colors.
2015-09-14 13:07:50 -10:00
David Vierra
fc4f89d2d7
Numpy warning: Fix float result of division used for array shape
2015-09-14 13:07:33 -10:00
David Vierra
1ef0e6cb54
Capture -W warnings to logging module
2015-09-14 13:07:09 -10:00
David Vierra
2d4df57cb3
Pin numpy version to <1.10.0
...
Numpy 1.10 changes casting rules for in-place operations, and I don't feel like adapting to that yet.
2015-09-14 12:42:08 -10:00
David Vierra
cb7f7f6b70
Fix typo in drawBox
2015-09-14 12:38:06 -10:00
David Vierra
9b770c2b42
Remove usage of glPushClientAttrib
2015-09-14 12:29:25 -10:00
David Vierra
3526f6c7d0
Brush modes are now instantiated by BrushTool instead of globally.
2015-09-10 20:04:18 -10:00
David Vierra
2a290d3c97
Cleanup
2015-09-10 19:25:34 -10:00
David Vierra
e1a6c51a2b
Added repeat count to Clone tool
2015-09-10 16:27:22 -10:00
David Vierra
10ce7746a9
showProgress is now able to combine multiple iterable tasks into one progress bar
2015-09-10 16:27:05 -10:00
David Vierra
c7b009b59c
rescaleProgress now deals with two-element and non-tuple yields
2015-09-10 16:26:36 -10:00
David Vierra
800ab23427
Move rescaleProgress+enumProgress to mceditlib.util.progress
2015-09-10 15:49:17 -10:00
David Vierra
084613ebf8
Use updateView() convenience function in EditorSession
2015-09-10 15:16:49 -10:00
David Vierra
35d1f13a46
Fix translucent blocks below column height not updating skylight level.
2015-09-10 14:19:07 -10:00
David Vierra
29a921d660
Fix typo in node.removeParent
2015-09-10 14:18:45 -10:00
David Vierra
67a00313cb
Change SceneNode/RenderNode to support multiple parents.
...
This allows the same node to appear multiple times in the graph.
2015-09-10 13:03:29 -10:00
David Vierra
66a2222750
Add clone tool icon
2015-09-10 12:36:27 -10:00
David Vierra
41da9d2495
Double SpinSlider has a smaller singleStep
2015-09-10 12:00:14 -10:00
David Vierra
ce5ea422af
Change Brightness slider to use the 'gamma' argument to generateLightmap
2015-09-10 11:57:51 -10:00
David Vierra
8a5bcd6dd2
Cleanup in Move tool
2015-09-10 01:20:19 -10:00
David Vierra
fcdc743cbc
Absolutely terrible first draft of Clone tool.
...
It is a clone of the Move tool without the multiple imports and without clearing the area after copying.
2015-09-10 01:20:03 -10:00
David Vierra
b16918b320
Add info to logger in FillBlocksOperation
2015-09-09 23:00:38 -10:00
David Vierra
49a2fd5036
Update HeightMap using actual block opacity, and drop height correctly.
2015-09-09 23:00:22 -10:00
David Vierra
2484610888
Add note to resourcePath
2015-09-09 21:10:36 -10:00
David Vierra
c83382e010
Simplify expression in MoveFinishCommand
2015-09-09 21:10:26 -10:00
David Vierra
8d7c5e860f
Extract CoordinateWidget to its own file
2015-09-09 21:10:12 -10:00
David Vierra
85972c7867
Use try...finally in SimpleRevisionCommand
2015-09-09 21:07:34 -10:00