A security patch will be applied between 1pm - 1:30pm, (UTC-0400), today- Aug 5th. No downtime is expected, but the site could be slow during that time.

Commit eb22e916 authored by Sean McBride's avatar Sean McBride
Browse files

Fixed null deref by adding null check.

If factory methods weren't "auto-initialized", a null dereference
would occur in this codepath.

Change-Id: Ic5298701844be1f252a92871031a2ede93059dfa
parent 24d65354
......@@ -60,8 +60,11 @@ vtkInteractorStyle::vtkInteractorStyle()
this->OutlineActor = NULL;
this->OutlineMapper = vtkPolyDataMapper::New();
if(this->OutlineMapper && this->Outline)
{
this->OutlineMapper->SetInputConnection(
this->Outline->GetOutputPort());
}
this->PickedRenderer = NULL;
this->CurrentProp = NULL;
......
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