Final trueSpace7.61 Beta 8 Std Unofficial Update

User avatar
trueBlue
Captain
Posts: 5206
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by trueBlue »

Test Update 45 for trueSpace7.61 Beta 8 Std Unofficial Update

May 17, 2021

Recommend that you completely Uninstall and Install trueSpace7.61 Beta 8 Standalone to a clean directory before installing this update. If you applied the previous Test Update to a clean directory, you do not need to Uninstall trueSpace7.61 Beta 8 Standalone before applying this new update.
This is a Beta Pre Release for TESTING the below updates and the included previous updates

Update

Toolbars
WinGUID_Bar
Reset/Perspective 'RMB command uses a RsApp.RunScriptBuffer script'

Scripts/Commands Author Clinton Reese
Update using a RsApp.RunScriptBuffer script
Copy
UnLookAt
RotatePOV
RotateISO
Cam2Eye
Eye2Cam
User avatar
clintonman
Captain
Posts: 5422
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by clintonman »

CopyWindow using script buffer is working now.
This is the one that was crashing tS. The trick was to replace the ReconnectTo command with Disconnect and ConnectTo commands.
1 undo does not close the window or do anything that I can see. All other undos after the first look normal.
Attachments
CopyWindow04.RsObj
(5.45 KiB) Downloaded 92 times
Clinton Reese

http://clintons3d.com
User avatar
trueBlue
Captain
Posts: 5206
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by trueBlue »

clintonman wrote: 17 May 2021, 21:13 CopyWindow using script buffer is working now.
This is the one that was crashing tS. The trick was to replace the ReconnectTo command with Disconnect and ConnectTo commands.
1 undo does not close the window or do anything that I can see. All other undos after the first look normal.
This one can crash too, if you copy two or three windows and then press Undo
User avatar
clintonman
Captain
Posts: 5422
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by clintonman »

trueBlue wrote: 18 May 2021, 00:09
clintonman wrote: 17 May 2021, 21:13 CopyWindow using script buffer is working now.
This is the one that was crashing tS. The trick was to replace the ReconnectTo command with Disconnect and ConnectTo commands.
1 undo does not close the window or do anything that I can see. All other undos after the first look normal.
This one can crash too, if you copy two or three windows and then press Undo
:( ;) Ok, I got another solution that will not crash when you copy 2 or more windows. It uses a combination of the script buffer and some new plugin commands to replace the Delete, ConnectTo and Disconnect commands with versions that have no undo. I have one more command I want to add to the plugin then I'll publish it so you can try it out.

To be honest I was a little :( that it was still crashing and then :) to find it still has a chance to work. I've used the plugin to make freeze transform and toggle object coordinate mode scripts that don't need to clear history. I also used it on the light color pickers but they still have issues. I'm hopeful for a solution.
Clinton Reese

http://clintons3d.com
User avatar
trueBlue
Captain
Posts: 5206
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by trueBlue »

:bananathumb:
Have you tried to set input mouse connectors in the clickable bitmap controller for the lights?

Node.Value('%THIS_NAME%/Controler', 'mouseX') = %MOUSE_X%;
Node.Value('%THIS_NAME%/Controler', 'mouseY') = %MOUSE_Y%;
User avatar
clintonman
Captain
Posts: 5422
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by clintonman »

Attached is another attempt for the CopyWindow command. It uses the script buffer command and the updated rsx plugin file.

The new rsx plugin can be found here with notes at the bottom of the page:
http://clintons3d.com/plugins/truespace ... index.html

Adds the following "script" commands that do not add to the undo history
ConRemove
ConnectTo
Disconnect
Rename
Copy
Delete
DisconnectAll - this is not the same as the script version
SetNodeValueFloat
SetNodeValueInt
SetNodeValueUnsigned
SetNodeValueString
SetNodeValueColor
SetNodeValueColorRGB8
SetNodeValueMatrix
Attachments
CopyWindow05.RsObj
(5.6 KiB) Downloaded 93 times
Clinton Reese

http://clintons3d.com
User avatar
trueBlue
Captain
Posts: 5206
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by trueBlue »

How do you write your plugin based Copy?
util = System.CreateDO("Clintons3D Package/Utility functions")
util.Copy(str,str,var)



Example
Node.Copy(var,var)
Node.Copy("/Scripts/CustomCommands/wsLayersGroup4/LayersPanelFrame","Project/Windows Manager Space");
User avatar
clintonman
Captain
Posts: 5422
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by clintonman »

trueBlue wrote: 18 May 2021, 17:19 How do you write your plugin based Copy?
util = System.CreateDO("Clintons3D Package/Utility functions")
util.Copy(str,str,var)



Example
Node.Copy(var,var)
Node.Copy("/Scripts/CustomCommands/wsLayersGroup4/LayersPanelFrame","Project/Windows Manager Space");
util.Copy(str,str,var) --> var
means that you give it 2 strings and it returns the var, I guess that's just the way the plugin code expresses itself
so
newNode = util.Copy(str, str)
basically the same as
newNode = Node.Copy(var, var)
Clinton Reese

http://clintons3d.com
User avatar
clintonman
Captain
Posts: 5422
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by clintonman »

Fix for QuadWindow crash.
To see crash:
open quad window
copy some of it's windows
close quad window and you get the crash

The attached will not crash. This was a shot in the dark. All I did was reset all the frame WinID connectors, making them blank.

Note that when you close the quad window all the copied windows will also close. And they will all reload when the quad window is opened again. I guess it has some kind of save in it somewhere.
Attachments
QuadFrameWindow.RsObj
(118.66 KiB) Downloaded 106 times
Clinton Reese

http://clintons3d.com
User avatar
clintonman
Captain
Posts: 5422
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Final trueSpace7.61 Beta 8 Std Unofficial Update

Post by clintonman »

This version of mesh object coordinates does not need to have history cleared. It uses the undo-able plugin commands.
Attachments
MeshObjectCoordinateSystem04.RsObj
(25.79 KiB) Downloaded 91 times
Clinton Reese

http://clintons3d.com
Post Reply