Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008535opensim[GRID] Inventory Servicepublic2019-05-28 01:312019-05-29 02:37
ReporterTyphaineArtez 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusnewResolutionopen 
PlatformOSOS Version
Product Version0.9.0.1 
Target VersionFixed in Version 
Summary0008535: Mesh upload with textures does not create textures in inventory
DescriptionWhen I upload a mesh model, selecting "Include textures", textures are created in assets database, but not in user inventory, making the assets unreachable.

It looks like the old fixed issue 0007250.
Steps To ReproduceRun a scratch new opensim-0.9.0.1
In viewer, upload a Mesh Model, enabling "Include textures"
Textures are created in assets (the uploaded model has them assigned when it's rezzed)
Textures references are not created in uploader's inventory.
Additional InformationTested with many mesh models.

Tested with SQLite and MySQL database.

Also tried on a grid with opensim 0.8.2, with the same viewer.
It works as expected: a folder with the model name suffixed with "Textures" is created for all model textures.
TagsNo tags attached.
Git Revision or version number
Run ModeStandalone (1 Region)
Physics EngineBulletSim
Script Engine
EnvironmentMono / Linux64
Mono Version5.x
ViewerFirestorm-Releasex64 6.0.
Attached Filespatch file icon Document-MeshModelAllowTextureToInventory-in-OpenSim.patch [^] (1,008 bytes) 2019-05-28 08:41 [Show Content]

- Relationships

-  Notes
(0035259)
mewtwo0641 (reporter)
2019-05-28 05:12

This was purposefully changed a while back to not put the textures in inventory when a mesh is uploaded. I have no idea why this was the case because it was nice to have the textures available for use with their associated assets (say, for scripting); as opposed to having to upload the textures separately and then have duplicate assets with different UUIDs.
(0035260)
TyphaineArtez (reporter)
2019-05-28 05:28

I agree, uploading textures at the same time than the mesh is handy. So with this new way of doing, either you need to upload textures separately and then assing them to the object(s)/face(s), either you have duplicates in assets (unless using FSAssets which seems to handle duplicates).

That would be nice if it was an option in OpenSim, and at least documented (I couldn't find any reference to this change in web search, but that old mantis issue - which has been fixed). I wondered if I didn't do a bad configuration in my installation and spent time to check out.
(0035261)
UbitUmarov (administrator)
2019-05-28 06:45

add
    MeshModelAllowTextureToInventory = true
to opensim.ini in section [Economy]
(0035262)
tampa (reporter)
2019-05-28 08:43

Added a patch to document this option in OpenSim.ini though not sure if it should be there or rather in defaults.ini
(0035265)
TyphaineArtez (reporter)
2019-05-28 14:03
edited on: 2019-05-28 14:04

I made a search of "Inventory" and "Texture" in OpenSim.ini and OpenSimDefaults.ini, and now after checking, the option is not there.

After adding in, textures are in my inventory. So I guess it's just a miss in the documentation and OpenSimDefaults.ini (where it should be in my opinion)

Thank you Ubit and tampa. I let you decide how to close this issue, with the inclusion of the patch.

(0035267)
aiaustin (developer)
2019-05-29 00:43

I wonder if the default for this ought to be true? This would provide an accessible version of the textures with the same UUID for the uploader of the model.
(0035268)
tampa (reporter)
2019-05-29 00:53

Given how many times you tend to reupload a mesh to get all the values correctly you would spam the inventory full of textures. I just experienced that after changing and testing this, just creates a mess and if you really need the textures you can just upload them as well, given that they should be present to upload along with the model in the first place.
(0035270)
TyphaineArtez (reporter)
2019-05-29 02:37

Inventory flooding is not an issue by itself. You always fill your assets database with new -unreachable- assets when you upload with textures, so that's not the point. At least you see you are filling it ;-)

- Issue History
Date Modified Username Field Change
2019-05-28 01:31 TyphaineArtez New Issue
2019-05-28 05:12 mewtwo0641 Note Added: 0035259
2019-05-28 05:28 TyphaineArtez Note Added: 0035260
2019-05-28 06:45 UbitUmarov Note Added: 0035261
2019-05-28 08:41 tampa File Added: Document-MeshModelAllowTextureToInventory-in-OpenSim.patch
2019-05-28 08:43 tampa Note Added: 0035262
2019-05-28 14:03 TyphaineArtez Note Added: 0035265
2019-05-28 14:04 TyphaineArtez Note Edited: 0035265 View Revisions
2019-05-29 00:43 aiaustin Note Added: 0035267
2019-05-29 00:53 tampa Note Added: 0035268
2019-05-29 01:20 aiaustin Note Added: 0035269
2019-05-29 02:37 TyphaineArtez Note Added: 0035270
2019-05-29 03:06 aiaustin Note Deleted: 0035269


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker