From 4d34b393c326e64c49beca42c79b4a0c8bc02791 Mon Sep 17 00:00:00 2001 From: Matt Chang Date: Thu, 9 Jan 2020 15:50:30 +1100 Subject: [PATCH] A wrong type in the generated Lua script --- src/saveasdialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/saveasdialog.cpp b/src/saveasdialog.cpp index 208be98..ff8477b 100644 --- a/src/saveasdialog.cpp +++ b/src/saveasdialog.cpp @@ -311,7 +311,7 @@ void SaveAsDialog::saveLuaScript(const std::vector& ogreItems) " node:set_vec3('Position', { x = value.pos.x, y = value.pos.y, z = value.pos.z }) \n" " node:set_vec3('Rotation', { x = value.rot.x, y = -value.rot.y, z = value.rot.z }) \n" " node:set_vec3('Scale', { x = value.scale.x, y = value.scale.y, z = value.scale.z }) \n" - " node:set_ref('Is Pickable', false) \n" + " node:set_bool('Is Pickable', false) \n" " node:signal_attribute('Parent') \n" " node:signal_attribute('Name') \n" " node:signal_attribute('Position') \n"