Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-02-12 12:09:52 +0300
committerCampbell Barton <ideasman42@gmail.com>2011-02-12 12:09:52 +0300
commit5af9e5fda96bbf47ebf6bb5cfdd6b67bcbb365cb (patch)
treefa3ee54a8e2f344013870983f4e308f53c3ea999 /source/blender/editors/space_view3d
parente70ca00f71c8f6f3be218e9113b714df25e33deb (diff)
- resource leak in pointcache, opendir without closedir()
- reading pointcache was using an incorrect, always NULL variable. - commented NDof code, was giving warnings and isnt used now.
Diffstat (limited to 'source/blender/editors/space_view3d')
-rw-r--r--source/blender/editors/space_view3d/view3d_edit.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/space_view3d/view3d_edit.c b/source/blender/editors/space_view3d/view3d_edit.c
index bc9c41f3add..de0878925ae 100644
--- a/source/blender/editors/space_view3d/view3d_edit.c
+++ b/source/blender/editors/space_view3d/view3d_edit.c
@@ -2799,6 +2799,7 @@ void filterNDOFvalues(float *sbval)
sbval[i]=0.0;
}
+#if 0
// statics for controlling rv3d->dist corrections.
// viewmoveNDOF zeros and adjusts rv3d->ofs.
// viewmove restores based on dz_flag state.
@@ -3139,6 +3140,7 @@ void viewmoveNDOF(Scene *scene, ARegion *ar, View3D *v3d, int UNUSED(mode))
*/
// XXX scrarea_do_windraw(curarea);
}
+#endif // if 0, unused NDof code
/* give a 4x4 matrix from a perspective view, only needs viewquat, ofs and dist
* basically the same as...