diff --git a/build/make_maya_plugin.nxt b/build/make_maya_plugin.nxt index f29d579..e9847b6 100644 --- a/build/make_maya_plugin.nxt +++ b/build/make_maya_plugin.nxt @@ -170,7 +170,11 @@ "os.makedirs('${mod_folder}/scripts/Qt')", "", "with open('${mod_folder}/scripts/Qt/__init__.py', 'w+') as fp:", - " fp.write(result.content)" + " if isinstance(result.content, str):", + " fp.write(result.content)", + " else:", + " fp.write(result.content.decode())", + "" ] } } diff --git a/nxt_editor/integration/unreal/README.md b/nxt_editor/integration/unreal/README.md index 5732b6f..d5f9269 100644 --- a/nxt_editor/integration/unreal/README.md +++ b/nxt_editor/integration/unreal/README.md @@ -3,9 +3,10 @@ This is an Unreal plugin to connect to the nxt python package. The nxt python package will be downloaded from the internet as part of this installation. 1. Move this plugin either into your project or engine's plugin directory. -2. Activate the plugin in the engine plugin browser. -3. Install the nxt python package - - __automated -__ From top menu option "nxt", select "Install nxt package to active python" +2. Ensure that the python editor scripting plugin is activated. +3. Activate the plugin in the engine plugin browser. Exit the engine. +4. Install the nxt python package + - __automated -__ From unreal editor top menu option "nxt", select "Install nxt package to active python" - __by hand -__ Locate engine python(`sys.prefix`) in commmand prompt or terminal and run: `python -m pip install nxt-editor` (Note on windows this will be `python.exe`) 4. Restart Editor