mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 17:55:48 +08:00
cleaning out warnings.
NOTE: we currently have a gazillion warnings caused stuff flagged as "obsolete" (OGS1 stuff) --- what's up with that?
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/*
|
||||
/*
|
||||
* Copyright (c) Contributors, http://opensimulator.org/
|
||||
* See CONTRIBUTORS.TXT for a full list of copyright holders.
|
||||
*
|
||||
@@ -38,13 +38,13 @@ namespace OpenSim.Region.CoreModules.Agent.IPBan
|
||||
= log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
|
||||
|
||||
private List<string> bans;
|
||||
private SceneBase m_scene;
|
||||
// private SceneBase m_scene;
|
||||
public SceneBanner(SceneBase scene, List<string> banList)
|
||||
{
|
||||
scene.EventManager.OnClientConnect += EventManager_OnClientConnect;
|
||||
|
||||
bans = banList;
|
||||
m_scene = scene;
|
||||
// m_scene = scene;
|
||||
}
|
||||
|
||||
void EventManager_OnClientConnect(IClientCore client)
|
||||
|
||||
@@ -305,7 +305,7 @@ namespace OpenSim.Region.CoreModules.Scripting.DynamicTexture
|
||||
Primitive.TextureEntry tmptex = part.Shape.Textures;
|
||||
|
||||
// remove the old asset from the cache
|
||||
UUID oldID = tmptex.DefaultTexture.TextureID;
|
||||
// UUID oldID = tmptex.DefaultTexture.TextureID;
|
||||
|
||||
tmptex.DefaultTexture.TextureID = asset.FullID;
|
||||
// I'm pretty sure we always want to force this to true
|
||||
|
||||
Reference in New Issue
Block a user