Commit c5054715 authored by Sven Buijssen's avatar Sven Buijssen Committed by David Partyka
Browse files

BUG: Fix for BUG #12619. vtkPolyDataSilhouette segfaulted if no camera

parent be64234e
......@@ -255,9 +255,9 @@ int vtkPolyDataSilhouette::RequestData(
}
if( ( this->PreComp->mtime.GetMTime() > output->GetMTime() ) ||
( this->Camera->GetMTime() > output->GetMTime() ) ||
( this->Prop3D!=0 && this->Prop3D->GetMTime() > output->GetMTime() ) ||
vecChanged )
( this->Camera && this->Camera->GetMTime() > output->GetMTime() ) ||
( this->Prop3D && this->Prop3D->GetMTime() > output->GetMTime() ) ||
vecChanged )
{
vtkDebugMacro(<<"Extract edges\n");
......
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