Commit 9bbcabc0 authored by Amy Squillacote's avatar Amy Squillacote
Browse files

not required to specify radius scale factor

parent cabb78f2
......@@ -32,7 +32,7 @@ int vtkPVPointSourceWidget::InstanceCount = 0;
//-----------------------------------------------------------------------------
vtkStandardNewMacro(vtkPVPointSourceWidget);
vtkCxxRevisionMacro(vtkPVPointSourceWidget, "1.29");
vtkCxxRevisionMacro(vtkPVPointSourceWidget, "1.30");
int vtkPVPointSourceWidgetCommand(ClientData cd, Tcl_Interp *interp,
int argc, char *argv[]);
......@@ -154,7 +154,14 @@ void vtkPVPointSourceWidget::Create(vtkKWApplication *app)
"SetAcceptButtonColorToModified");
this->RadiusWidget->Create(app);
this->RadiusWidget->SetScaleFactor(this->RadiusScaleFactor);
if (this->RadiusWidget->GetSMPropertyName())
{
this->RadiusWidget->SetScaleFactor(this->RadiusScaleFactor);
}
else
{
this->RadiusWidget->SetValue(&this->DefaultRadius, 1);
}
if (this->ShowEntries)
{
......
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