Final trueSpace 7.61 Beta 8 Unofficial Update

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

Re: Final trueSpace 7.61 Beta 8 Unofficial Update

Post by trueBlue » 22 Sep 2019, 16:48

clintonman wrote:
22 Sep 2019, 15:54
trueBlue wrote:
21 Sep 2019, 20:41
...
ctrlSelectionGroup/selNode.RsObj
Add
Space.Unselect()

@Clinton, I would suggest that add Space.Unselect() to the selNode.RsObj in your version of the ctrlSelectionGroup
It works much better!
I'll wait to see what you came up with. On the surface it sounds like it would be worse. Ctrl is used to add/subtract from the selection, it sounds like your mod starts by removing all selection. If that's true then if you want to add or subtract to an existing selection you have to start over from scratch.
Basically it starts the selection from scratch.
Where it helps is when you have multiple objects selected before activating Ctrl + Selecting.
Try it with and without adding Space.Unselect() to the top of the selNode script.
You will be able see the difference.

Was trying to change it from using the Model string to a Workspace string, but can't figure it out yet. This would be a tS761 Unofficial Update only, as I know you need to support all versions.

clintonman
Captain
Posts: 2851
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Final trueSpace 7.61 Beta 8 Unofficial Update

Post by clintonman » 22 Sep 2019, 16:57

addCube8NoCanDo.jpg
Yep, it is worse because it starts from scratch.
Now if I want to add the cube on the far left to the selection I have to start over and do them 1 by 1.
Clinton Reese

http://clintons3d.com

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

Re: Final trueSpace 7.61 Beta 8 Unofficial Update

Post by trueBlue » 22 Sep 2019, 17:12

Ah! Okay gotcha. Thanks for the explanation.
What I was seeing with a multiple selection, the first selection was Deselecting.
I'll leave as you have it.

clintonman
Captain
Posts: 2851
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Final trueSpace 7.61 Beta 8 Unofficial Update

Post by clintonman » 22 Sep 2019, 17:13

Actually, I think it's not even working properly without your mod. Looking at it now.
Clinton Reese

http://clintons3d.com

clintonman
Captain
Posts: 2851
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Final trueSpace 7.61 Beta 8 Unofficial Update

Post by clintonman » 22 Sep 2019, 17:34

It suddenly started working again. I think the problem is that it was changing the selection and activating the selection change event at the same time, so a single click might act a little like a double click. This change will make it more reliable.

Your deselect everything isn't useful for me, but you could add it via right click and have it call a completely different ctrlSelectionGroup, maybe call it deselectCtrlSelectionGroup.
Attachments
ctrlSelectionGroup.RsObj
(34.53 KiB) Downloaded 7 times
Clinton Reese

http://clintons3d.com

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

Re: Final trueSpace 7.61 Beta 8 Unofficial Update

Post by trueBlue » 22 Sep 2019, 20:49

clintonman wrote:
22 Sep 2019, 17:34
It suddenly started working again. I think the problem is that it was changing the selection and activating the selection change event at the same time, so a single click might act a little like a double click. This change will make it more reliable.

Your deselect everything isn't useful for me, but you could add it via right click and have it call a completely different ctrlSelectionGroup, maybe call it deselectCtrlSelectionGroup.
Oh man! You eliminated my most favorite feature from the previous update!!!
Something the Info view is lacking. :(

Code: Select all

Node.Value("/Status Line","Model") = "Selection: " + statustext;
Capture.PNG
Capture.PNG (2.37 KiB) Viewed 161 times

clintonman
Captain
Posts: 2851
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Final trueSpace 7.61 Beta 8 Unofficial Update

Post by clintonman » 22 Sep 2019, 21:54

trueBlue wrote:
22 Sep 2019, 20:49
clintonman wrote:
22 Sep 2019, 17:34
It suddenly started working again. I think the problem is that it was changing the selection and activating the selection change event at the same time, so a single click might act a little like a double click. This change will make it more reliable.

Your deselect everything isn't useful for me, but you could add it via right click and have it call a completely different ctrlSelectionGroup, maybe call it deselectCtrlSelectionGroup.
Oh man! You eliminated my most favorite feature from the previous update!!!
Something the Info view is lacking. :(

Code: Select all

Node.Value("/Status Line","Model") = "Selection: " + statustext;
Capture.PNG
Oops, no problem. When I discovered the problem with the selection I loaded the version from my website and ended up modifying it. I'll add that back in for the "Workspace" status.
Clinton Reese

http://clintons3d.com

clintonman
Captain
Posts: 2851
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Final trueSpace 7.61 Beta 8 Unofficial Update

Post by clintonman » 22 Sep 2019, 22:36

Fixed the status message for the ctrl button simulator. Sorry :oops:

Uses Workspace label instead of Model.
Shows selection on first run before selection process starts.
Attachments
ctrlSelectionGroup.RsObj
(35.36 KiB) Downloaded 5 times
Clinton Reese

http://clintons3d.com

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

Re: Final trueSpace 7.61 Beta 8 Unofficial Update

Post by trueBlue » 22 Sep 2019, 23:40

clintonman wrote:
22 Sep 2019, 22:36
Fixed the status message for the ctrl button simulator. Sorry :oops:

Uses Workspace label instead of Model.
Shows selection on first run before selection process starts.
Perfecto! Even better then my last favorite! Thank YOU. :worship:
Uploaded your changes

clintonman
Captain
Posts: 2851
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Final trueSpace 7.61 Beta 8 Unofficial Update

Post by clintonman » 23 Sep 2019, 04:07

Further testing and found that the link editor ctrl button still misbehaved. The script has a Selection Change Event node and it is more reliable when it is visible in the link editor.
I added a right click command to the button on my website version that opens a LE view into the scripts and that seems to solve it.

Code: Select all

WindowsManager.CreateWindowFromCLSIDEx("default", "default", "default","Scripts/CustomCommands/ctrlSelectionGroup", 1, "2D")
This exposes the script node in a new link editor window. I think this will work for bad WatchDog behavior as well.
Clinton Reese

http://clintons3d.com

Post Reply