Commit 6f5662ac authored by Cory Quammen's avatar Cory Quammen Committed by Kitware Robot

Merge topic '20284-create-remote-dir'

6b4e295c Fix creation of new directories on server side when saving data
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Acked-by: Utkarsh Ayachit's avatarUtkarsh Ayachit <utkarsh.ayachit@kitware.com>
Merge-request: !4471
parents 31f8fc13 6b4e295c
Pipeline #196117 failed with stages
in 153 minutes and 18 seconds
......@@ -49,6 +49,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include <vtkDirectory.h>
#include <vtkPVFileInformation.h>
#include <vtkPVFileInformationHelper.h>
#include <vtkPVSession.h>
#include <vtkSMDirectoryProxy.h>
#include <vtkSMIntVectorProperty.h>
#include <vtkSMPropertyHelper.h>
......@@ -708,6 +709,7 @@ bool pqFileDialogModel::mkdir(const QString& dirName)
{
vtkSMDirectoryProxy* dirProxy = vtkSMDirectoryProxy::SafeDownCast(
this->Implementation->getServer()->proxyManager()->NewProxy("misc", "Directory"));
dirProxy->SetLocation(vtkPVSession::SERVERS);
ret = dirProxy->MakeDirectory(dirPath.toUtf8().data());
dirProxy->Delete();
}
......
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