1265 Commits

Author SHA1 Message Date
David Vierra
b06f747226 Rewrite editorSession.deleteChunks 2016-05-28 03:23:52 -10:00
David Vierra
d2eb981e33 Create contextmanager for SimpleRevisionCommand 2016-05-28 03:23:40 -10:00
David Vierra
8d2d26fe3c Remove unused functions 2016-05-28 03:22:05 -10:00
David Vierra
470795ffb7 Tweak options in simple options demo 2016-05-27 18:20:28 -10:00
David Vierra
76998921e3 Wrap text in labels, use spinboxes instead of spinsliders w/no min+max 2016-05-27 18:20:12 -10:00
David Vierra
883b9e4e5d Set title of SimplePluginDialog and give it a larger minimum size 2016-05-27 18:19:33 -10:00
David Vierra
dd59894ac9 Add SimplePluginCommand with dict-based option configuration 2016-05-25 15:43:47 -10:00
David Vierra
389ef9a76f Un-private the registerClass and unregisterClass functions 2016-05-25 15:43:23 -10:00
David Vierra
d232d662dc Add editorSession.beginCommand() to simplify undo code 2016-05-25 15:42:56 -10:00
David Vierra
5d10e8a306 Simple command plugin for testing 2016-05-22 11:31:54 -10:00
David Vierra
02b7a55892 Add some more logging to plugin load/unload 2016-05-21 18:21:16 -10:00
David Vierra
2f03c9487c Actually load plugins back in during auto-reload 2016-05-21 18:21:04 -10:00
David Vierra
bea7d8e8d5 Create PluginClassRegistry class to handle class loading/unloading
Implements signals emitted when a plugin class is loaded/unloaded and
defers registration of classes until the plugin module is fully loaded.
2016-05-21 15:00:35 -10:00
David Vierra
a5584de41f Put vital unload code in a finally block 2016-05-21 10:23:05 -10:00
David Vierra
74458520db _CommandPlugins emits added and removed signals 2016-05-21 10:20:06 -10:00
David Vierra
6163371095 Refactor some methods onto PluginRef 2016-05-21 10:19:42 -10:00
David Vierra
4f4a0c93c4 PluginRef.fullpath is now taken from the result of PluginRef.findModule() 2016-05-21 09:39:38 -10:00
David Vierra
ad1e2ac85e Fix return value of PluginsTableModel.getData 2016-05-21 09:38:53 -10:00
David Vierra
c276d93aee Wire up command plugins 2016-05-20 12:46:02 -10:00
David Vierra
7fc9d4caab Change mcedit2.plugins to package, start work on command plugins 2016-05-20 12:45:50 -10:00
David Vierra
9d3e503ad6 Fix AttributeError when getting tag name for undo description
Fall back to "(root)" if the tag has no parent
2016-05-17 07:07:18 -10:00
David Vierra
96b3f10c6c Undoing transforms now updates the move tool UI 2016-05-12 21:04:17 -10:00
David Vierra
8987e33feb Fix transformed inputs not using the correct bounds when overlapping 2016-05-12 21:03:38 -10:00
David Vierra
a2a660a1c8 Block picker now selects the first matching block when searching 2016-05-12 20:58:10 -10:00
David Vierra
a84b004253 Fix move tool misbehaving on overlapping source/dest areas
- Move tool clears before copying when areas overlap
2016-05-06 15:42:03 -10:00
David Vierra
524ed31b80 Get DifferenceBox working again 2016-05-06 15:41:21 -10:00
David Vierra
5e2449ada1 Clearing a selection with a single click now clears the highlighted blocks 2016-05-06 00:01:14 -10:00
David Vierra
3a00423552 Holding a modifier while releasing a movement key no longer keeps moving
Button and key release events now ignore modifiers and notify all
matching view actions of the release event
2016-05-05 23:20:59 -10:00
David Vierra
3b647c7f93 Second draft of heuristic-based block rotation 2016-05-05 23:04:22 -10:00
David Vierra
55d66b8808 Fix sys._MEIPASS not decoded to unicode 2016-05-05 22:40:38 -10:00
David Vierra
30bb188171 First draft of heuristic-based block rotation 2016-04-22 17:46:10 -10:00
David Vierra
e589475458 Rewrite docstrings 2016-04-21 16:28:21 -10:00
David Vierra
e4bb8eed98 Remove redundant exists check in getSrcFolder 2016-03-30 11:50:27 -10:00
David Vierra
98fd8f5cc2 Auto-compile .ui files when running from source. 2016-03-28 08:16:55 -10:00
David Vierra
37fc89a32c Fall back to 1.8 jar when rendering, if models are 1.9 format
...or if they are otherwise unusable
2016-03-27 17:07:31 -10:00
David Vierra
84c7c24a87 Improve error reporting when a world fails to open 2016-03-27 04:28:54 -10:00
David Vierra
9127dcd786 Fix snapshots option overriding "jar exists" check. 2016-03-27 04:28:37 -10:00
David Vierra
06e874eca4 Fall back to first version found when selected version is not found. 2016-03-27 04:27:15 -10:00
David Vierra
98c6f685d6 Be more lenient when a block model fails to parse 2016-03-27 04:10:17 -10:00
David Vierra
20533b63c1 Add "Snapshots" option to minecraft installs dialog 2016-03-27 04:03:32 -10:00
David Vierra
9fdf601d19 Make minecraft installation list more robust
Current install is now stored as the install's path rather than its
index. None install is now checked more often.
2016-03-27 03:54:53 -10:00
David Vierra
49e40cc7d2 Catch and display any exception while loading a file to edit 2016-03-27 01:28:21 -10:00
David Vierra
9bfd9ed144 Make model loading more robust
Fixes #218
2016-03-27 01:03:09 -10:00
David Vierra
52a137df59 SelectionCursorNode and SelectionFaceNode now use 4-tuple colors 2016-03-24 03:52:36 -10:00
David Vierra
ab0f1934ec Add "Sticky Selection" and "Classic Selection" options 2016-03-24 03:44:50 -10:00
David Vierra
7a2237dcdf Skip over mod zips that fail for any reason. 2016-03-23 00:14:41 -10:00
David Vierra
3c21b8544e Fix error dialog not showing when mouse is not grabbed? 2016-03-18 13:59:46 -10:00
David Vierra
6055a4d35c Display the default ? icon in inventories and itemtype lists 2016-03-11 11:18:42 -10:00
David Vierra
03af37b3fe Skylight update now draws light in below changed columns. 2016-03-02 02:45:25 -10:00
David Vierra
d5c3e3108f Re-enable lighting update for "Replace Blocks" 2016-03-02 02:45:04 -10:00