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
David Vierra
71503baca8
Reformat
2015-09-09 12:36:22 -10:00
David Vierra
9ab9d12086
Add layer for rendering stored HeightMaps
2015-09-09 12:22:36 -10:00
David Vierra
4c8b548e74
Not all view layers are enabled on first run.
...
View layer toggles now respect DefaultVisibleLayers.
2015-09-09 12:22:17 -10:00
David Vierra
ef5fa310ab
Adjust appearance of Version/ResourcePack buttons.
2015-09-08 12:11:30 -10:00
David Vierra
daf729eedb
Copy-paste no longer clears previous selection.
2015-09-08 10:45:04 -10:00
David Vierra
66747461b5
Move tool no longer makes a copy immediately.
...
Now it creates a reference to the area to be moved and renders that instead.
2015-09-08 10:34:13 -10:00
David Vierra
555b316c2f
SceneUpdateTask now considers the worldScene's bounds when accepting/rejecting chunks
2015-09-08 10:33:40 -10:00
David Vierra
3a57a77b62
WorldLoader accepts an optional list of chunks to load
2015-09-08 10:33:11 -10:00
David Vierra
9f571d2b1f
Add logger for settings change, don't call setValue if no change.
2015-09-07 23:09:20 -10:00
David Vierra
92265cd600
Molest the logging module to make string formatting safer for unicode strings.
2015-09-07 23:08:43 -10:00
David Vierra
7c8d2d3717
Fix first change of settings value not triggering setting-changed signal.
...
The new value was mistakenly used as the default value.
2015-09-07 20:44:26 -10:00
David Vierra
5614e10744
Remove useless glGenerateMipmap check
2015-09-07 10:52:18 -10:00
David Vierra
e89e69e046
Merge pull request #154 from vorburger/patch-1
...
README.md Linux build instructions updated
2015-09-07 10:52:01 -10:00
Michael Vorburger
7cfb44d13b
README.md Linux build instructions updated
...
Thank you guys for MCEdit - I was exploring it for use with kids for http://blog.tinkercad.com/2013/08/15/tinkercraft/
2015-09-07 09:47:14 +02:00
David Vierra
ffcbc3d52c
Workaround for OverflowError
...
OverflowError results from Python `long` not converting to `QVariant` correctly.
Pass TAG_Long values through Qt models as `str` (eww).
2015-09-06 10:36:58 -10:00
David Vierra
6ccd462333
Remove implicit texture loading in Texture.bind()
...
Loading a texture during bind() may cause the glTexImage commands to be compiled into a display list. Not a great idea.
2015-09-06 08:46:48 -10:00
David Vierra
ca0dbc0523
BindTextureNode once again resets GL_TEXTURE matrix
2015-09-06 08:45:56 -10:00
David Vierra
63dfb0d628
Overhaul glutils.Texture
...
Texture no longer has a textureFunc callback. Instead, it has image, width, and height attributes.
Texture no longer calls glGenTexture on init; instead, this is deferred until load.
Texture gains a 'name' attribute, mostly used for logging.
TextureAtlas._lightTexture is now reloaded whenever TextureAtlas.dayTime or TextureAtlas.minBrightness is changed.
This commit does too many things and I will probably be punished for it.
2015-09-06 08:36:38 -10:00
David Vierra
9bc4a2fd11
Fix areaLights getting the wrong above/below sections.
2015-09-06 08:36:38 -10:00
David Vierra
d8a834c034
Fix blocklight/skylight values for fluid renderers
2015-09-06 08:36:37 -10:00