Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0006506opensim[REGION] OpenSim Corepublic2013-01-17 07:522013-01-21 13:25
Reporternebadon 
Assigned To 
PrioritynormalSeverityblockReproducibilityalways
StatusnewResolutionopen 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0006506: OsSetDynamicTextureURL and llSetTexture only work if you use ALL_SIDES
Descriptionhttp://opensimulator.org/wiki/OsSetDynamicTextureURL [^]

if you try to apply a dynamic texture to just one texture surface of a prim the surface # you select turns white and every other surface gets the texture.

ie : llSetTexture(URLTexture, 0);

this only happens when OsSetDynamicTextureURL is used, if you upload a texture and assign its UUID instead, it works as expected

ie : llSetTexture("55c710cf-6663-47a4-a291-fb06ba5de48c", 0);
TagsNo tags attached.
Git Revision or version numberVersion: OpenSim 0.7.5 Dev 37fcf87: 2013-01-16 08:20:32 -0800 (interface version 7)
Run ModeStandalone (1 Region) , Standalone (Multiple Regions) , Grid (1 Region per Sim) , Grid (Multiple Regions per Sim)
Physics EngineODE
Script Engine
EnvironmentMono / Linux64
Mono Version3.0
Viewer
Attached Files

- Relationships

-  Notes
(0023414)
nebadon (administrator)
2013-01-17 08:14

default {
    state_entry()
    {
      string dynamicID="";
      integer refreshRate = 10;
      string contentType="image";
      string srcURL = "http://nebadon2025.com/osgrid/photos2012"; [^]
      string URLTexture=osSetDynamicTextureURL(dynamicID, contentType ,srcURL , "", refreshRate );
      llSetTexture(URLTexture, 0);
    }
    touch_start(integer total_number)
    {
      string dynamicID="";
      integer refreshRate = 10;
      string contentType="image";
      string srcURL = "http://nebadon2025.com/osgrid/photos2012"; [^]
      string URLTexture=osSetDynamicTextureURL(dynamicID, contentType ,srcURL , "", refreshRate );
      integer touchIdx;
      integer face = (integer)llDetectedTouchFace(touchIdx);
      llSay(0,"URLTexture = "+URLTexture);
      key texture1 = (key)URLTexture;
      llSay(0,"Touched Face = "+face);
      llSay(0,"texture1 = "+(string)texture1);
      if (face == 0){
          llSetTexture(texture1, 0);
        }
   }
}
(0023434)
Pixel Tomsen (manager)
2013-01-21 13:14

confirmed. llSetTexture works right.

this will be overwritten in TextureDynamicModule; always defined to ALL_SIDES

Subroutine: public UUID UpdatePart(SceneObjectPart part, UUID textureID)
or PreCalls
(0023435)
melanie (administrator)
2013-01-21 13:21

This works as designed. The design just stinks :(

Leaving this open to get back to and fix eventually.
(0023436)
Pixel Tomsen (manager)
2013-01-21 13:25

good succeed ;-)

- Issue History
Date Modified Username Field Change
2013-01-17 07:52 nebadon New Issue
2013-01-17 08:10 nebadon Mono Version Other => 3.0
2013-01-17 08:14 nebadon Note Added: 0023414
2013-01-21 13:14 Pixel Tomsen Note Added: 0023434
2013-01-21 13:21 melanie Note Added: 0023435
2013-01-21 13:25 Pixel Tomsen Note Added: 0023436


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker