Commit d967a40a authored by sumpfralle's avatar sumpfralle

shifted "center" view slightly to improve the default view of the default model

removed obsolete "print" statement


git-svn-id: https://pycam.svn.sourceforge.net/svnroot/pycam/trunk@874 bbaffbd6-741e-11dd-a85d-61de82d9cad9
parent 05941d25
......@@ -47,7 +47,7 @@ BUTTON_ZOOM = gtk.gdk.BUTTON3_MASK
# The length of the distance vector does not matter - it will be normalized and
# multiplied later anyway.
VIEWS = {
"reset": {"distance": (1.0, 1.0, 1.0), "center": (0.0, 0.0, 0.0),
"reset": {"distance": (-1.0, -1.0, 1.0), "center": (0.0, 0.0, 0.0),
"up": (0.0, 0.0, 1.0), "znear": 0.1, "zfar": 1000.0, "fovy": 30.0},
"top": {"distance": (0.0, 0.0, 1.0), "center": (0.0, 0.0, 0.0),
"up": (0.0, 1.0, 0.0), "znear": 0.1, "zfar": 1000.0, "fovy": 30.0},
......
......@@ -229,7 +229,6 @@ def ImportModel(filename, use_kdtree=True, program_locations=None, unit=None,
n, p1, p2, p3 = None, None, None, None
continue
if not n:
print p1, p2, p3
n = p2.sub(p1).cross(p3.sub(p1)).normalized()
# validate the normal
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment