]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/wxVTKRenderWindow.py
Don't create a bitmap with dimensions <= 0...
[wxWidgets.git] / wxPython / demo / wxVTKRenderWindow.py
index 35b13325b0d197bafa217eb5716fa2db47cfa744..520f50b2aa3d97f94794ab3610eb147adeb45c6a 100644 (file)
@@ -10,7 +10,7 @@ except ImportError:
 
 def MakeCone(vtkwin):
     cone = vtk.vtkConeSource()
-    cone.SetResolution(128)
+    cone.SetResolution(80)
     coneMapper = vtk.vtkPolyDataMapper()
     coneMapper.SetInput(cone.GetOutput())
     coneActor = vtk.vtkActor()