From 40300c886cb84715bf1a81d90c4144dc44bbe8f7 Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Fri, 8 Jul 2011 20:36:01 +0100 Subject: refactor: Factor out AddSubMesh() method from long CraeteMeshFromPrimMesher() method Also remove some of the logging spam left in from the last commit. --- OpenSim/Region/Physics/OdePlugin/OdeScene.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'OpenSim/Region/Physics/OdePlugin/OdeScene.cs') diff --git a/OpenSim/Region/Physics/OdePlugin/OdeScene.cs b/OpenSim/Region/Physics/OdePlugin/OdeScene.cs index b09e69e..87d22af 100644 --- a/OpenSim/Region/Physics/OdePlugin/OdeScene.cs +++ b/OpenSim/Region/Physics/OdePlugin/OdeScene.cs @@ -26,7 +26,7 @@ */ //#define USE_DRAWSTUFF -//#define DEBUG +//#define SPAM using System; using System.Collections.Generic; @@ -2463,7 +2463,7 @@ namespace OpenSim.Region.Physics.OdePlugin if (pbs.SculptEntry && !meshSculptedPrim) { -#if DEBUG +#if SPAM m_log.Warn("NonMesh"); #endif return false; @@ -2485,7 +2485,7 @@ namespace OpenSim.Region.Physics.OdePlugin && pbs.PathScaleX == 100 && pbs.PathScaleY == 100 && pbs.PathShearX == 0 && pbs.PathShearY == 0) { -#if DEBUG +#if SPAM m_log.Warn("NonMesh"); #endif return false; @@ -2566,12 +2566,12 @@ namespace OpenSim.Region.Physics.OdePlugin if (iPropertiesNotSupportedDefault == 0) { -#if DEBUG +#if SPAM m_log.Warn("NonMesh"); #endif return false; } -#if DEBUG +#if SPAM m_log.Debug("Mesh"); #endif return true; -- cgit v1.1