This repository has been archived by the owner on May 16, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated VTK to version 7.1 This version brings a few bug fixes. (see #8) See merge request !39
- Loading branch information
Showing
11 changed files
with
119 additions
and
153 deletions.
There are no files selected for viewing
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
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,25 @@ | ||
--- a/Utilities/VTK/vtkImageMapToColors16.cxx 2017-02-17 14:32:21.000000000 +0100 | ||
+++ b/Utilities/VTK/vtkImageMapToColors16.cxx 2017-03-16 13:46:45.223443700 +0100 | ||
@@ -66,9 +66,9 @@ | ||
} | ||
|
||
//---------------------------------------------------------------------------- | ||
-unsigned long vtkImageMapToColors16::GetMTime() | ||
+vtkMTimeType vtkImageMapToColors16::GetMTime() | ||
{ | ||
- unsigned long t1, t2; | ||
+ vtkMTimeType t1, t2; | ||
|
||
t1 = this->Superclass::GetMTime(); | ||
if (this->LookupTable) | ||
--- a/Utilities/VTK/vtkImageMapToColors16.h 2017-02-17 14:32:21.000000000 +0100 | ||
+++ b/Utilities/VTK/vtkImageMapToColors16.h 2017-03-16 13:46:45.231445300 +0100 | ||
@@ -85,7 +85,7 @@ | ||
|
||
// Description: | ||
// We need to check the modified time of the lookup table too. | ||
- virtual unsigned long GetMTime(); | ||
+ virtual vtkMTimeType GetMTime(); | ||
|
||
protected: | ||
vtkImageMapToColors16(); |
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
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
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
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 |
---|---|---|
@@ -1,14 +1,16 @@ | ||
--- a/Common/Core/CMakeLists.txt 2016-04-18 17:54:34.000000000 +0200 | ||
+++ b/Common/Core/CMakeLists.txt 2016-04-18 17:54:57.000000000 +0200 | ||
@@ -624,4 +624,10 @@ | ||
--- a/Common/Core/CMakeLists.txt 2016-11-14 16:05:14.000000000 +0100 | ||
+++ b/Common/Core/CMakeLists.txt" 2017-03-17 11:42:05.017722200 +0100 | ||
@@ -719,8 +719,10 @@ | ||
|
||
vtk_module_library(vtkCommonCore ${Module_SRCS}) | ||
|
||
-vtk_module_link_libraries(vtkCommonCore LINK_PRIVATE ${CMAKE_THREAD_LIBS} LINK_PUBLIC ${VTK_SMP_IMPLEMENTATION_LIBRARIES}) | ||
+if(ANDROID) | ||
- | ||
if(ANDROID) | ||
- target_link_libraries(vtkCommonCore LINK_PRIVATE log) | ||
+ find_library(LIBLOG NAMES log REQUIRED PATH "${ANDROID_SYSROOT}/usr/lib") | ||
+ find_library(LIBANDROID NAMES android REQUIRED PATH "${ANDROID_SYSROOT}/usr/lib") | ||
+ vtk_module_link_libraries(vtkCommonCore LINK_PRIVATE ${CMAKE_THREAD_LIBS} LINK_PUBLIC ${VTK_SMP_IMPLEMENTATION_LIBRARIES} ${LIBLOG} ${LIBANDROID}) | ||
+else() | ||
+ vtk_module_link_libraries(vtkCommonCore LINK_PRIVATE ${CMAKE_THREAD_LIBS} LINK_PUBLIC ${VTK_SMP_IMPLEMENTATION_LIBRARIES}) | ||
+endif() | ||
endif() |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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,12 @@ | ||
diff -uNr a/Rendering/OpenGL2/vtkOpenGLPolyDataMapper.cxx b/Rendering/OpenGL2/vtkOpenGLPolyDataMapper.cxx | ||
--- a/Rendering/OpenGL2/vtkOpenGLPolyDataMapper.cxx 2017-04-07 15:20:26.000000000 +0200 | ||
+++ b/Rendering/OpenGL2/vtkOpenGLPolyDataMapper.cxx 2017-04-07 15:21:25.000000000 +0200 | ||
@@ -1581,7 +1581,7 @@ | ||
#if GL_ES_VERSION_3_0 != 1 | ||
bool multisampling = glIsEnabled(GL_MULTISAMPLE) == GL_TRUE; | ||
#else | ||
- bool multisample = false; | ||
+ bool multisampling = false; | ||
#endif | ||
|
||
if (!multisampling) |
Oops, something went wrong.