Store scene identifier passed in to OdeScene for later debug messages
							parent
							
								
									1d4cd76e8a
								
							
						
					
					
						commit
						03202ada29
					
				| 
						 | 
				
			
			@ -58,6 +58,11 @@ namespace OpenSim.Region.Physics.Manager
 | 
			
		|||
    {
 | 
			
		||||
        private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
 | 
			
		||||
 | 
			
		||||
        /// <summary>
 | 
			
		||||
        /// Name of this scene.  Useful in debug messages to distinguish one OdeScene instance from another.
 | 
			
		||||
        /// </summary>
 | 
			
		||||
        public string Name { get; protected set; }
 | 
			
		||||
 | 
			
		||||
        // The only thing that should register for this event is the SceneGraph
 | 
			
		||||
        // Anything else could cause problems.
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -310,10 +310,13 @@ namespace OpenSim.Region.Physics.OdePlugin
 | 
			
		|||
        /// Sets many properties that ODE requires to be stable
 | 
			
		||||
        /// These settings need to be tweaked 'exactly' right or weird stuff happens.
 | 
			
		||||
        /// </summary>
 | 
			
		||||
        public OdeScene(string sceneIdentifier)
 | 
			
		||||
        /// <param value="name">Name of the scene.  Useful in debug messages.</param>
 | 
			
		||||
        public OdeScene(string name)
 | 
			
		||||
        {
 | 
			
		||||
            m_log 
 | 
			
		||||
                = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType.ToString() + "." + sceneIdentifier);
 | 
			
		||||
                = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType.ToString() + "." + name);
 | 
			
		||||
 | 
			
		||||
            Name = name;
 | 
			
		||||
 | 
			
		||||
            nearCallback = near;
 | 
			
		||||
            triCallback = TriCallback;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue