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
David Vierra
801c122f33
Add cameraVector property to CutawayWorldView
2015-08-30 05:19:45 -10:00
David Vierra
73447bee69
Add custom editor widget for TAG_Long tags in NBT Editor.
...
Should hopefully solve OverflowError caused by coercing a TAG_Long's value to int.
2015-08-22 13:27:24 -10:00
David Vierra
95413d2e88
Fix var decl ordering for cython 0.20
...
cython 0.20 is for Ubuntu 14.04
2015-08-20 11:44:25 -10:00
David Vierra
e3a785ec50
Attempt to fix weird QGLContext bug by holding a reference to the QGLContext
2015-08-20 11:42:02 -10:00
David Vierra
481eb0f523
Add shulker model for MC 1.9
2015-08-19 14:25:59 -10:00
David Vierra
75d229a2b1
Handle missing 'variants' in blockstates json
...
json may have 'multipart' instead. Handle this!!
2015-08-19 14:25:50 -10:00
David Vierra
f32212b3f5
Handle entity not found when zooming to entity
2015-08-19 14:25:22 -10:00
David Vierra
caa1ee2456
Tweak boundingbox for getting entity from find results.
...
Need a better way to get entity by UUID...
2015-08-19 14:24:55 -10:00
David Vierra
e5b9c67d31
Move data collection to mcedit2.spec. Remove hook-mcedit2.py.
...
Specfile update for PyInstaller 3
2015-08-19 14:24:00 -10:00
David Vierra
4cdf7cffc8
Rename "Edit Chunk" to "Inspect Chunk" and move most of its code to inspector
2015-07-29 16:55:17 -10:00
David Vierra
8c98350426
Print repr of GL_VENDOR and GL_RENDERER for drivers that return non-ascii strings.
2015-07-23 14:52:34 -10:00
David Vierra
b05b923466
Embedded profiler now records only samples over the past 10 seconds.
...
Makes live profiling more responsive.
2015-07-20 19:43:00 -10:00
David Vierra
3b6d6d6b39
Some work on a numpy-based raycast method. Not yet used.
2015-07-20 19:42:31 -10:00
David Vierra
115ee5b9fb
CONTRIBUTING.md: Link to wiki page on mcedit2 repo.
2015-07-20 16:46:26 -10:00
David Vierra
8fadb2bb76
Change BindTextureRenderNode to make fewer GL calls when the texture scale is None.
2015-07-19 03:11:02 -10:00
David Vierra
5125fdf86e
Document createRenderNode, updateRenderNode, and updateChildren to make intentions more clear.
...
Change updateChildren to be non-recursive.
updateRenderNode now descends into children and calls updateChildren as needed.
The rendergraph is now slightly less creepy.
2015-07-19 03:06:18 -10:00
David Vierra
f66e2a8dbf
Stop rendering rainbow creepers for unknown entities.
2015-07-19 02:12:15 -10:00
David Vierra
544214ecea
Skip blank itemframes.
...
This may be done improperly. Accessing ref.Item may create an empty compound, and I haven't checked if blank frames have an empty compound for Item or not.
2015-07-19 02:10:49 -10:00
David Vierra
5b963e6222
Add Chest and Large Chest models
2015-07-19 02:10:48 -10:00
David Vierra
f32c8b13bc
Add ScaleRenderNode
2015-07-19 02:08:05 -10:00
David Vierra
63737e8ae3
Remove wonky block model for chests
2015-07-19 02:07:55 -10:00