From c067dda146b58588d42f0b6d947ee1e11ac0a27c Mon Sep 17 00:00:00 2001 From: MichaelAldrich <11843596+MichaelAldrich@users.noreply.github.com> Date: Tue, 9 Feb 2021 14:25:27 -0500 Subject: [PATCH 1/2] * Update make maya plugin graph to run correctly in python 2 or 3 --- build/make_maya_plugin.nxt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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())", + "" ] } } From 7149c288f300e39c1cee35f39c36da202013dd84 Mon Sep 17 00:00:00 2001 From: Michael Aldrich <11843596+MichaelAldrich@users.noreply.github.com> Date: Tue, 9 Feb 2021 14:53:54 -0500 Subject: [PATCH 2/2] Update unreal plugin readme --- nxt_editor/integration/unreal/README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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