Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008467opensim[REGION] Scripting Enginepublic2019-01-29 22:062019-01-29 22:06
Assigned To 
PlatformPCOSWindowsOS Version10
Product Version0.9.0.1 
Target VersionFixed in Version 
Summary0008467: [SCRIPT] Old graphic remain visible after recompile script with osSetDynamicTextureDataBlendFace
DescriptionThe old graphic ISN'T deleted before displaying the new when the script is recompiled manually, that wrong. This bug appear with osSetDynamicTextureDataBlendFace

With osSetDynamicTextureDataFace the old graphic IS deleted before displaying the new graphic, that good.
Steps To ReproduceWith this test script, just proceed like this:
1) add the script in a box and compile it
You see now a black square on face 0
2) edit the script, change only the move pen values
eg from 100, 100 to 50, 50
and recompile
Now you can see TWO black squares
... but he should only have ONE

integer alpha = 255;
integer status = TRUE;

    on_rez(integer p) {llResetScript();}
    touch_start(integer n) {llResetScript();}
        // llSetTexture(TEXTURE_BLANK, 0);
        string cmd;
        cmd = osSetPenSize(cmd, 3);
        cmd = osSetPenColor(cmd, "Black");
        cmd = osMovePen(cmd, 100, 100);
        cmd = osDrawRectangle(cmd, 100, 100);
        // cmd = osDrawFilledPolygon( cmd, [50,100,50], ["50",100,150.0] );
        // osSetDynamicTextureDataFace("", "vector", cmd, "width:256, Height:256", 0, 0);
        string params = "width:256, height:256, alpha: 0";
        osSetDynamicTextureDataBlendFace("", "vector", cmd, params, status, 2, 0, alpha, 0);
TagsNo tags attached.
Git Revision or version number
Run Mode Grid (Multiple Regions per Sim)
Physics EngineubODE
Script Engine
Environment.NET / Windows64
Mono VersionNone
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2019-01-29 22:06 djphil New Issue

Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker