Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008228opensim[REGION] Scripting Enginepublic2017-08-12 18:022017-08-13 14:31
Reportermewtwo0641 
Assigned Tomewtwo0641 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Versionmaster (dev code) 
Target VersionFixed in Versionmaster (dev code) 
Summary0008228: llSetText() is not consistently working in touch_start() event
DescriptionWhen using llSetText() in the touch_start() event it does not consistently apply the new text.

The touch_start() event is actually firing on each click as verified by the test script in the Additional Information section as well as the counter above the prim will increase by the number of clicks it took to get the set text to update.

This also seems to affect the PRIM_TEXT set primitive params method of set text as well although it appears to not affect it as badly.
Steps To Reproduce1. Use llSetText() (or the PRIM_TEXT set primitive params variant) in touch_start() in a prim rezzed in world

2. Click the prim
    a. Sometimes it updates the text but a lot of times it doesn't until it is clicked multiple times
Additional Information//Script used for testing
integer count = 0;

default
{
    state_entry()
    {
        llSetText("Count: " + (string)count, <0,1,0>, 1.0);
    }
    
    touch_start(integer num)
    {
        llOwnerSay("touch_start()");
        
        count++;
        
        llSetText("Count: " + (string)count, <0,1,0>, 1.0);
    }
}
TagsNo tags attached.
Git Revision or version number
Run Mode Grid (Multiple Regions per Sim)
Physics EngineubODE
Environment.NET / Windows64
Mono VersionNone
Viewer
Attached Files

- Relationships

-  Notes
(0032247)
UbitUmarov (administrator)
2017-08-12 22:09

did a few changes on master. Should be better now
(0032248)
watcher64 (reporter)
2017-08-12 23:14

This appears to be working much better, noticed this, but thought it was just me ... ;)
(0032249)
mewtwo0641 (reporter)
2017-08-13 14:30

Looks like this is working a ton better by master. Thank you! :)

- Issue History
Date Modified Username Field Change
2017-08-12 18:02 mewtwo0641 New Issue
2017-08-12 22:09 UbitUmarov Note Added: 0032247
2017-08-12 23:14 watcher64 Note Added: 0032248
2017-08-13 14:30 mewtwo0641 Note Added: 0032249
2017-08-13 14:31 mewtwo0641 Status new => resolved
2017-08-13 14:31 mewtwo0641 Fixed in Version => master (dev code)
2017-08-13 14:31 mewtwo0641 Resolution open => fixed
2017-08-13 14:31 mewtwo0641 Assigned To => mewtwo0641


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker