|Anonymous | Login | Signup for a new account||2020-01-26 00:03 PST|
|Main | My View | View Issues | Change Log | Roadmap | Summary | My Account|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0006873||opensim||[REGION] Script Functions||public||2013-12-01 16:20||2013-12-06 01:42|
|Platform||OSGrid, Virtual Highway||OS||OS Version||0.7.5, 0.7.6, 08|
|Product Version||master (dev code)|
|Target Version||Fixed in Version|
|Summary||0006873: llSetClickAction in root does not over-ride the child prims|
|Description||According to the wiki, llSetClickAction "When set in the root of an object the chosen CLICK_ACTION_* will be that for the children also even if they have their own llSetClickAction set (it will be over-ridden)."|
However, in Open Sim llSetClickAction behaves the same in the root as it does in the child prims: It only sets the click action of the root prim and leaves the child prims with whatever click action they already have.
I tried this in OSgrid in several different SIMs with several different versions.
I tried this in SL and InWorldz and saw the expected behavior.
|Steps To Reproduce||Make two prims, link them together, put the following script in the root.|
Wave the cursor over the two prims, both will show the touch icon.
Click on the root prim, and wave the cursor over the prims again.
You will see that the cursor shows the buy icon on the root, but still shows the touch icon over the child prim.
(you can right-click and select touch to reset the experiment)
|Additional Information||integer set=0;|
if (set==0) llSetClickAction(CLICK_ACTION_SIT);
|Tags||No tags attached.|
|Git Revision or version number|
|Run Mode||Grid (Multiple Regions per Sim)|
|I presume that if you remove the click action from the root then the children should also lose it?|
Kayaker Magic (reporter)
edited on: 2013-12-06 01:43
Remove the click action? I presume you mean change the click action to CLICK_ACTION_NONE. I tried changing back and forth between different pairs of click action constants in SL, including CLICK_ACTION_NONE. I didn't always get the cursor I expected, but the root and the child always changed at the same time. The call in the root always over-rides the last setting in the child prims.
|2013-12-01 16:20||Kayaker Magic||New Issue|
|2013-12-05 16:04||justincc||Note Added: 0024816|
|2013-12-06 01:42||Kayaker Magic||Note Added: 0024839|
|2013-12-06 01:43||Kayaker Magic||Note Edited: 0024839||View Revisions|
|Copyright © 2000 - 2012 MantisBT Group|