aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/BulletSPlugin
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2012-04-21 00:12:07 +0100
committerJustin Clark-Casey (justincc)2012-04-21 00:12:07 +0100
commit7a574be3fd28ffbd9bce4cfa08451d705728fa20 (patch)
tree6efe638d29bf90a65ee308eea51a815d23492818 /OpenSim/Region/Physics/BulletSPlugin
parentImprove bitmap disposal to do null checks and not to potentially try disposal... (diff)
downloadopensim-SC_OLD-7a574be3fd28ffbd9bce4cfa08451d705728fa20.zip
opensim-SC_OLD-7a574be3fd28ffbd9bce4cfa08451d705728fa20.tar.gz
opensim-SC_OLD-7a574be3fd28ffbd9bce4cfa08451d705728fa20.tar.bz2
opensim-SC_OLD-7a574be3fd28ffbd9bce4cfa08451d705728fa20.tar.xz
Remove redundant prim_geom != IntPtr.Zero checks in ODEPrim.
prim_geom == IntPtr.Zero only before a new add prim taint is processed (which is the first taint) or in operations such as scale change which are done in taint or under lock. Therefore, we can remove these checks which were not consistently applied anyway. If there is a genuine problem, better to see it quickly in a NullReferenceException than hide the bug.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions