David Vierra
3ad11dc0c7
Assert display list is not None instead of is not truthy.
...
bool(array[0]) is not truthy but is still a valid display list.
2016-01-10 22:53:41 -10:00
David Vierra
346c945324
Add GL rendering profile to debug output
2016-01-10 22:52:56 -10:00
David Vierra
ee078dd988
Handle dirty flag on unparented entities.
...
Parenting the entity should automatically dirty the parent.
2015-12-20 06:11:24 -10:00
David Vierra
c367941304
Enable "View" button on world list.
2015-12-16 04:04:25 -10:00
David Vierra
136b6853c1
More work on "Choose folder..." button.
2015-12-16 04:04:16 -10:00
David Vierra
22675c5f12
Read-only worlds display "Read-only" in tab title.
2015-12-16 04:03:40 -10:00
David Vierra
ff0fb6762a
Worlds may be opened read-only from the command line
2015-12-16 04:02:55 -10:00
David Vierra
3660cd6a75
Implement "Choose folder" button on world list
2015-12-13 00:44:19 -10:00
David Vierra
aefa3f774b
Add coordinate inputs to block inspector
2015-12-07 19:16:21 -10:00
David Vierra
d299a9a37d
Get NBT Editor working again after the switch to compiled ui files.
2015-12-07 12:25:24 -10:00
David Vierra
fd99c4c6b7
NBT Editor will look up names for numeric item IDs in "id" tags.
2015-12-06 16:59:03 -10:00
David Vierra
396653f58a
Don't automatically remove tile entities when replacing blocks
...
Minecraft should be able to do that. I hope.
2015-12-06 16:58:16 -10:00
David Vierra
20bacee484
Exclude autogenerated pyfiles in ui/
2015-11-27 17:41:32 -10:00
David Vierra
66524b4101
Compile all ui files using pyside-uic
2015-11-27 17:38:33 -10:00
David Vierra
193ea92b60
Fix Vanilla name<->state mappings not being overridden by FML ones correctly
2015-11-23 03:07:12 -10:00
David Vierra
86f7769fe1
Clean up some imports
2015-11-20 06:30:14 -10:00
David Vierra
4e55976088
Change [Tile]EntityRef.dirty to be consistent with all other dirty flags
...
I don't like how these are all properties. Most of the usages just set dirty=True, and the only time dirty=False is set is when the chunk is written or the scene node is redrawn.
2015-11-20 06:19:35 -10:00
David Vierra
ac5c61a37c
Fix AttributeError when moving mouse over worldview after closing tab
...
There is probably something wrong with overloading QWidget.destroy like this. I should rewrite the entire thing in C++ and regain control over object destruction.
2015-11-18 19:41:14 -10:00
David Vierra
d6049cabd5
Move several .ui files to ui/dialogs and ui/widgets
2015-11-18 02:59:56 -10:00
David Vierra
c1bab59e71
Move configureblocksdialog to dialogs.configure_blocks
...
Sidenote: I am very impressed that PyCharm auto-organized my imports using my favored scheme - builtin modules, then third party modules, then application modules
2015-11-18 02:53:29 -10:00
David Vierra
83f2d1ca46
The ResourceLoader created when loading a world now tries to find a "mods" folder alongside the "saves" folder.
2015-11-18 02:50:19 -10:00
David Vierra
ca801027c3
Fix mob spawns renderer for numpy 1.10
2015-11-17 14:16:24 -10:00
David Vierra
e9b4041560
Select -> Inspect
2015-11-16 23:10:37 -10:00
David Vierra
4fbad3481e
Inspect Chunk now switches to the correct widget in inspector panel
2015-11-16 23:10:24 -10:00
David Vierra
12d2ef9c00
Revise method for finding places where mobs can spawn.
2015-11-16 23:08:18 -10:00
David Vierra
bb084f6932
Add more block json keys: materialBlocksMovement, normalCube, fullBlock, materialMapColorIndex, materialLiquid
...
Remove 'collidable'
2015-11-13 19:31:16 -10:00
David Vierra
c8fe5c6a08
Reformat minecraft_raw.json
2015-11-13 17:24:40 -10:00
David Vierra
df1be775ae
Add chunk renderer for positions that can spawn mobs
2015-11-13 17:02:33 -10:00
David Vierra
5fe2468ce0
Profiler uses time.clock on win32 for more accuracy
2015-11-12 13:28:52 -10:00
David Vierra
1b6d9d07fb
Reorganize WorldView methods
2015-11-12 12:03:39 -10:00
David Vierra
bbc3263ad7
Compile non-visible nodes
...
Otherwise they never get compiled again, as setting visible doesn't mark the parent as childNeedsRecompile
2015-11-12 10:37:17 -10:00
David Vierra
f8b30d007a
Update README
2015-11-09 11:49:39 -10:00
David Vierra
d36d88c746
DisplayList no longer remembers its drawFunc or calls compile() automatically.
...
Pass drawFunc when calling compile().
2015-11-09 11:49:07 -10:00
David Vierra
39a717b3ca
Issue #169 : Init X11 threads for threaded buffer swap
...
Ref: http://blog.qt.io/blog/2011/06/03/threaded-opengl-in-4-8/
2015-11-09 11:44:52 -10:00
David Vierra
b5889d528c
Add function for gathering node statistics
2015-11-07 06:26:09 -10:00
David Vierra
df15798a6e
Collapse some one-child nodes in WorldScene into their parents
2015-11-07 06:25:58 -10:00
David Vierra
983bec64ff
Skip emitting empty nodes for entity meshes
2015-11-07 06:25:35 -10:00
David Vierra
311a714616
Add names to almost all scene nodes
2015-11-07 06:25:19 -10:00
David Vierra
e2cd8d2258
Move setup.cfg to pytest.ini
2015-11-05 11:00:27 -10:00
David Vierra
ea88d7b36e
Finish fixing up test_relight
2015-11-04 13:40:36 -10:00
David Vierra
df4883472c
Custom traceback frames are now compatible with IPython
2015-11-04 13:40:35 -10:00
David Vierra
e9feb01a43
Add more excludes to specfile, don't mass-include all source files, only the ones that aren't imported internally
2015-11-04 13:40:35 -10:00
David Vierra
c7cfcd73b8
Update IPython widget for IPython 4.0
2015-11-04 13:40:34 -10:00
David Vierra
bfd2bd9bc9
Fix incorrect dtype in updateLightsByCoord
2015-11-01 15:20:39 -10:00
David Vierra
48e51a12ba
Update mcedit2.spec for PyInstaller 3 (really, this time).
2015-11-01 15:20:25 -10:00
David Vierra
9d0dab3c40
Add match and exclude patterns for pytest
2015-11-01 15:20:05 -10:00
David Vierra
459de55e1f
Log region reads/writes at a new, lower level than DEBUG.
2015-10-30 22:06:39 -10:00
David Vierra
261df22b80
Remove logging.basicConfig calls from tests
...
And remove one from blocktypes. What was it even doing there?
2015-10-30 04:55:10 -10:00
David Vierra
b92ac828aa
Fix test_relight and history
fixture.
2015-10-30 04:53:29 -10:00
David Vierra
3c1abfec8f
Travis: Upgrade pip version and install wheel
2015-10-30 04:44:53 -10:00