Added showEntireScene() ot normalize_view()
authorDmitriy Morozov <dmitriy@mrzv.org>
Mon, 21 Mar 2011 13:28:23 -0700
changeset 9 a500b28a675d
parent 8 2eaa2bffa6f4
child 10 bc10701b4081
Added showEntireScene() ot normalize_view()
PyVEFViewer.py
--- a/PyVEFViewer.py	Thu Mar 17 22:18:46 2011 -0700
+++ b/PyVEFViewer.py	Mon Mar 21 13:28:23 2011 -0700
@@ -90,6 +90,7 @@
         self.setSceneBoundingBox(Vec(self.min.x, self.min.y, self.min.z), \
                                  Vec(self.max.x, self.max.y, self.max.z))
         self.setSceneCenter(Vec(self.center.x, self.center.y, self.center.z))
+        self.camera().showEntireScene()
 
     def scene_parameters(self):
         self.center, self.min, self.max = reduceCMM((mod.center, mod.min, mod.max) for mod in self.models())