Commit 11c88362 authored by Dan Blezek's avatar Dan Blezek
Browse files

ENH: Allow Python Tk photo widget to get data from a vtkStructuredPoints

parent 2bccf55e
......@@ -165,7 +165,8 @@ extern "C" {
void *ptr;
char typeCheck[128];
sscanf ( argv[1], "_%lx_%s", (long *)&ptr, typeCheck);
if ( strcmp ( "vtkImageData", typeCheck ) != 0 )
if ( strcmp ( "vtkImageData", typeCheck ) != 0
&& strcmp ( "vtkStructuredPoints", typeCheck ) != 0 )
{
// bad type
ptr = NULL;
......
Supports Markdown
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