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
David Vierra
c2f46eed5e
Avoid OverflowError in WorldListItemDelegate
...
OverflowError is caused by passing a namedtuple containing a `long` value through the PySide binding for QModelIndex.data. Only occurs on Linux, apparently.
Work around by calling WorldListModel.data directly.
2015-09-06 08:36:37 -10:00
David Vierra
edcc085e9a
Move a profiler logger to DEBUG level
2015-09-06 08:36:36 -10:00
David Vierra
bb0e7b1b9d
User data folder is no longer found relative to sys.argv[0]
...
For source checkouts from git, the data folder is in the checkout folder. Otherwise, it is in the user's home folder.
2015-09-06 08:36:36 -10:00
David Vierra
fc9c8b831c
Pin some requirements.
...
These two both moved ahead and became incompatible with each other, and IPython 4 is incompatible with MCEdit.
2015-09-05 13:00:35 -10:00
David Vierra
ab538a3a7d
Suppress a logger in skylight update
2015-09-05 10:53:46 -10:00
David Vierra
966aa9f7fb
Clean up lightmap texture generating code
2015-09-05 10:45:03 -10:00
David Vierra
b586f5b6e2
View switching toolbar now has sliders for time-of-day and minimum brightness
...
These will modify the texture image for the block and sky lighting
2015-09-05 10:44:28 -10:00
David Vierra
31b411b75a
SpinSlider now accepts floating-point values (mainly those between 0.0 and 1.0)
2015-09-05 10:43:23 -10:00
David Vierra
0cb359f11c
Make custom traceback print_list compatible with standard tracebacks
2015-09-05 10:42:54 -10:00
David Vierra
ad301d77a8
'-debug' argument is no longer forwarded to OptionParser
2015-09-05 10:42:28 -10:00
David Vierra
fe50e3fa3d
Biome renderer is now compatible with non-Biomes levels
2015-09-05 10:42:15 -10:00
David Vierra
8ac3afb8db
copyBlocks now defaults to the "all" lighting update scheme
2015-09-05 10:41:12 -10:00
David Vierra
f7bed06003
Minor rename and refactor in copyBlocksIter
2015-09-05 10:40:46 -10:00
David Vierra
f13de9c6aa
Heightmap update doesn't cache old heightmap, and scans entire columns
...
When the height drops, it scans the entire column to find the new height. Instead, it could only scan the portion of the column changed in the given coordinates, but I'm lazy.
2015-09-05 10:40:14 -10:00
David Vierra
703a9ec002
Fix wrong index order when selecting lighting updates during copy
2015-09-05 10:34:28 -10:00
David Vierra
3689f7b80a
AnvilSection fills SkyLight with 15
...
Assumes that sections are created naturally from bottom to top with no gaps
2015-09-05 10:05:11 -10:00
David Vierra
f463e8d2bb
copyBlocksIter yields progress info for relight operation
2015-09-05 10:04:44 -10:00
David Vierra
f046a1edaa
updateLightsByCoord now respects hasLights attribute of dimension
2015-09-05 10:04:29 -10:00
David Vierra
21a719562e
Fix swapped blocklight and skylight in modelmesh
2015-09-04 20:01:38 -10:00
David Vierra
304329ad6a
Decent, yet slow attempt at updating SkyLight and HeightMap.
2015-09-04 19:00:05 -10:00
David Vierra
301f178c26
Add some not-so-useless junk back into validateWidgetQGLContext
2015-09-04 13:34:04 -10:00
David Vierra
35419ca320
Fix some mis-named, forwarded argument names to match the actual function call
2015-09-02 18:22:59 -10:00
David Vierra
8bc0458435
Remove some useless junk from validateWidgetQGLContext
2015-09-02 18:22:03 -10:00
David Vierra
cadf29cd29
Initialize some attributes earlier so we can str() the widget from inside validateWidgetQGLContext (if needed)
2015-09-02 18:21:48 -10:00
David Vierra
af9b2c3e3c
Make specfile compatible with PyInstaller 2+3
2015-09-02 04:30:10 -10:00
David Vierra
6c425d651d
Add a getWorldInfo method to WorldEditor
...
This allows the WorldList to get summary info for each world without loading it and parsing its blocktypes, etc
2015-09-01 10:23:06 -10:00
David Vierra
1a11979d4a
Add minecraftinstall option to show snapshots (i.e. versions we can't parse)
2015-09-01 04:37:35 -10:00
David Vierra
4edb129a02
WorldListWidget no longer creates a texture atlas nor loads block models.
2015-09-01 01:39:06 -10:00
David Vierra
0f2ef1f944
Center and rescale map panel when shown.
2015-08-31 00:15:51 -10:00
David Vierra
3d61d7bcca
Add toolbar buttons to change MC version and resource pack.
...
TODO: Reconsider the global settings for MC version and resource pack...
2015-08-30 08:07:22 -10:00
David Vierra
d011eb8ba6
EditorSession is now responsible for creating its own ResourceLoader
2015-08-30 08:07:22 -10:00
David Vierra
3c3e0292cc
Move getResourceLoaderForFilename to minecraftinstall.py
2015-08-30 08:07:21 -10:00