Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0006245opensim[REGION] Scripting Enginepublic2012-08-24 05:062012-09-24 03:02
ReporterSignpostMarv 
Assigned To 
PrioritylowSeveritytweakReproducibilityalways
Statuspatch includedResolutionopen 
PlatformOSOS Version
Product Versionmaster (dev code) 
Target VersionFixed in Version 
Summary0006245: llList2CSV in OpenSim (under XEngine) does not behave as it does in Second Life
DescriptionDue to an issue with XEngine using bool instead of int 1 or int 0, llList2CSV will spit out "True" or "False" instead of "1" or "0" if you add a value to a list that resolves to a bool.
Steps To Reproducedefault
{
    touch_start(integer t){
        llOwnerSay(llList2CSV([
            1.0 > 0,
            1.0 < 0
        ]));
    }
}
Additional InformationUnlike 0006243, I'm quite confident that this won't break any existing functionality although I'm uncertain how much of an effect on performance the if/else check for booleans will have.
TagsNo tags attached.
Git Revision or version number
Run ModeStandalone (1 Region) , Grid (1 Region per Sim)
Physics EngineBasicPhysics
Script Engine
Environment.NET / Windows32, .NET / Windows64
Mono VersionNone
Viewer
Attached Filespatch file icon llList2CSV-bool-problem.patch [^] (1,719 bytes) 2012-08-24 05:06 [Show Content]

- Relationships
related to 0006243closedmelanie LSL operations that equate to a c# boolean cannot be used where floats are valid 
child of 0006246new XEngine allows bools to be stored in lists instead of using 1 or 0 

-  Notes
(0022671)
SignpostMarv (reporter)
2012-09-24 03:02

forgot to flag as patch included last month.

- Issue History
Date Modified Username Field Change
2012-08-24 05:06 SignpostMarv New Issue
2012-08-24 05:06 SignpostMarv File Added: llList2CSV-bool-problem.patch
2012-08-24 05:08 SignpostMarv Relationship added related to 0006243
2012-08-24 05:24 SignpostMarv Relationship added child of 0006246
2012-09-24 03:02 SignpostMarv Note Added: 0022671
2012-09-24 03:02 SignpostMarv Status new => patch included


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker