Commit 0e14ecfe authored by Sebastien Jourdain's avatar Sebastien Jourdain
Browse files

Fix cube axis to support independant grid/axis flying mode

Change-Id: Ie29c993e4244d8d5f474220b999ef79a5cb44d22
parent 5f490998
......@@ -387,6 +387,7 @@ void vtkCubeAxesRepresentation::SetXTitle(const char* val)
void vtkCubeAxesRepresentation::SetXAxisVisibility(int val)
{
this->CubeAxesActor->SetXAxisVisibility(val);
this->CubeAxesActor->SetXAxisLabelVisibility(val);
}
//----------------------------------------------------------------------------
......@@ -417,6 +418,7 @@ void vtkCubeAxesRepresentation::SetYTitle(const char* val)
void vtkCubeAxesRepresentation::SetYAxisVisibility(int val)
{
this->CubeAxesActor->SetYAxisVisibility(val);
this->CubeAxesActor->SetYAxisLabelVisibility(val);
}
//----------------------------------------------------------------------------
......@@ -447,6 +449,7 @@ void vtkCubeAxesRepresentation::SetZTitle(const char* val)
void vtkCubeAxesRepresentation::SetZAxisVisibility(int val)
{
this->CubeAxesActor->SetZAxisVisibility(val);
this->CubeAxesActor->SetZAxisLabelVisibility(val);
}
//----------------------------------------------------------------------------
......
......@@ -234,6 +234,7 @@ void pqCubeAxesEditorDialog::done(int res)
BEGIN_UNDO_SET("Cube Axes Parameters");
this->Internal->PropertyManager->accept();
END_UNDO_SET();
pqApplicationCore::instance()->render();
}
this->Superclass::done(res);
}
VTK @ 2b0fdd6a
Subproject commit 0db6e8bf4d6d673eac3d20133d42a7e3b971fc6d
Subproject commit 2b0fdd6acb5045c1c130e50d811e3fea1167d383
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