diff options
author | Justin Clark-Casey (justincc) | 2012-04-21 00:12:07 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-04-21 00:12:07 +0100 |
commit | 7a574be3fd28ffbd9bce4cfa08451d705728fa20 (patch) | |
tree | 6efe638d29bf90a65ee308eea51a815d23492818 /Prebuild | |
parent | Improve bitmap disposal to do null checks and not to potentially try disposal... (diff) | |
download | opensim-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 'Prebuild')
0 files changed, 0 insertions, 0 deletions