Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0003647opensim[REGION] Scripting Enginepublic2009-05-13 15:002011-07-25 08:22
ReporterShackDougall 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusconfirmedResolutionopen 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0003647: Problem compiling LSL script with inline vector
DescriptionThis simple script will not compile:

list shapeParams = [];
vector taper = <0.0,0.0,0.0>;

default
{
    state_entry()
    {
        shapeParams += <1.0,1.0,0> - taper;
        llSay(0, (string) shapeParams);
    }

}

The workaround is to do something like this:

list shapeParams = [];
vector taper = <0.0,0.0,0.0>;

default
{
    state_entry()
    {
        vector foo = <1.0,1.0,0>;
        shapeParams += foo - taper;
        llSay(0, (string) shapeParams);
    }

}
TagsNo tags attached.
Git Revision or version number
Run ModeStandalone (1 Region)
Physics EngineODE
Script Engine
Environment.NET / Windows32
Mono VersionNone
Viewer
Attached Files

- Relationships

-  Notes
(0019106)
makopoppo (manager)
2011-07-25 08:22

Issue still exists in current OpenSim 0.7.2-dev.

- Issue History
Date Modified Username Field Change
2009-05-13 15:00 ShackDougall New Issue
2009-05-13 15:00 ShackDougall SVN Revision => 9532
2009-05-13 15:00 ShackDougall Run Mode => Standalone (1 Region)
2009-05-13 15:00 ShackDougall Physics Engine => ODE
2009-05-13 15:00 ShackDougall Environment => .NET / Windows32
2009-05-13 15:00 ShackDougall Mono Version => None
2011-07-25 08:22 makopoppo Note Added: 0019106
2011-07-25 08:22 makopoppo Status new => confirmed


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker