-
Notifications
You must be signed in to change notification settings - Fork 124
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1057 from julien-tierny/patch
[pv513] Final patchset fix
- Loading branch information
Showing
2 changed files
with
15 additions
and
3 deletions.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
paraview/patch/paraview-5.13.0-vtkPVFileInformation.cxx.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- a/Remoting/Core/vtkPVFileInformation.cxx 2018-04-06 22:03:33.000000000 +0200 | ||
+++ b/Remoting/Core/vtkPVFileInformation.cxx 2018-05-20 07:11:10.114020235 +0200 | ||
@@ -1226,6 +1222,11 @@ | ||
resource_dir = vtksys::SystemTools::CollapseFullPath(resource_dir); | ||
} | ||
|
||
+ vtkProcessModule* pm = vtkProcessModule::GetProcessModule(); | ||
+ | ||
+ if((pm)&&(prefixes.size())) | ||
+ resource_dir = pm->GetSelfDir() + "/../" + prefixes[0]; | ||
+ | ||
return resource_dir; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters