On baked texture save, replace any HG ID with an ordinary asset ID so the HGAssetBroker doesn't try to save back to the avatar's originating region
							parent
							
								
									83c70dc914
								
							
						
					
					
						commit
						d43863af78
					
				|  | @ -262,6 +262,9 @@ namespace OpenSim.Region.CoreModules.Avatar.AvatarFactory | ||||||
| 
 | 
 | ||||||
|                 if (asset != null) |                 if (asset != null) | ||||||
|                 { |                 { | ||||||
|  |                     // Replace an HG ID with the simple asset ID so that we can persist textures for foreign HG avatars | ||||||
|  |                     asset.ID = asset.FullID.ToString(); | ||||||
|  | 
 | ||||||
|                     asset.Temporary = false; |                     asset.Temporary = false; | ||||||
|                     asset.Local = false; |                     asset.Local = false; | ||||||
|                     m_scene.AssetService.Store(asset); |                     m_scene.AssetService.Store(asset); | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	 Justin Clark-Casey (justincc)
						Justin Clark-Casey (justincc)