aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/OdePlugin
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-07-08 20:36:01 +0100
committerJustin Clark-Casey (justincc)2011-07-08 20:36:01 +0100
commit40300c886cb84715bf1a81d90c4144dc44bbe8f7 (patch)
tree0c81b449ba5f1b063b1c880736bd7052c01fb3cc /OpenSim/Region/Physics/OdePlugin
parentFix interpretation of physics mesh proxies from mesh data (diff)
downloadopensim-SC_OLD-40300c886cb84715bf1a81d90c4144dc44bbe8f7.zip
opensim-SC_OLD-40300c886cb84715bf1a81d90c4144dc44bbe8f7.tar.gz
opensim-SC_OLD-40300c886cb84715bf1a81d90c4144dc44bbe8f7.tar.bz2
opensim-SC_OLD-40300c886cb84715bf1a81d90c4144dc44bbe8f7.tar.xz
refactor: Factor out AddSubMesh() method from long CraeteMeshFromPrimMesher() method
Also remove some of the logging spam left in from the last commit.
Diffstat (limited to 'OpenSim/Region/Physics/OdePlugin')
-rw-r--r--OpenSim/Region/Physics/OdePlugin/OdeScene.cs10
1 files changed, 5 insertions, 5 deletions
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 @@
26 */ 26 */
27 27
28//#define USE_DRAWSTUFF 28//#define USE_DRAWSTUFF
29//#define DEBUG 29//#define SPAM
30 30
31using System; 31using System;
32using System.Collections.Generic; 32using System.Collections.Generic;
@@ -2463,7 +2463,7 @@ namespace OpenSim.Region.Physics.OdePlugin
2463 2463
2464 if (pbs.SculptEntry && !meshSculptedPrim) 2464 if (pbs.SculptEntry && !meshSculptedPrim)
2465 { 2465 {
2466#if DEBUG 2466#if SPAM
2467 m_log.Warn("NonMesh"); 2467 m_log.Warn("NonMesh");
2468#endif 2468#endif
2469 return false; 2469 return false;
@@ -2485,7 +2485,7 @@ namespace OpenSim.Region.Physics.OdePlugin
2485 && pbs.PathScaleX == 100 && pbs.PathScaleY == 100 2485 && pbs.PathScaleX == 100 && pbs.PathScaleY == 100
2486 && pbs.PathShearX == 0 && pbs.PathShearY == 0) 2486 && pbs.PathShearX == 0 && pbs.PathShearY == 0)
2487 { 2487 {
2488#if DEBUG 2488#if SPAM
2489 m_log.Warn("NonMesh"); 2489 m_log.Warn("NonMesh");
2490#endif 2490#endif
2491 return false; 2491 return false;
@@ -2566,12 +2566,12 @@ namespace OpenSim.Region.Physics.OdePlugin
2566 2566
2567 if (iPropertiesNotSupportedDefault == 0) 2567 if (iPropertiesNotSupportedDefault == 0)
2568 { 2568 {
2569#if DEBUG 2569#if SPAM
2570 m_log.Warn("NonMesh"); 2570 m_log.Warn("NonMesh");
2571#endif 2571#endif
2572 return false; 2572 return false;
2573 } 2573 }
2574#if DEBUG 2574#if SPAM
2575 m_log.Debug("Mesh"); 2575 m_log.Debug("Mesh");
2576#endif 2576#endif
2577 return true; 2577 return true;