[paraview] 03/05: Fix rescale over time. (Closes: #766406)
Anton Gladky
gladk at moszumanska.debian.org
Sun Jan 10 14:30:15 UTC 2016
This is an automated email from the git hooks/post-receive script.
gladk pushed a commit to branch master
in repository paraview.
commit ff45e72e8cb38dd9083f3947096874b29671cce6
Author: Anton Gladky <gladk at debian.org>
Date: Sun Jan 10 13:48:56 2016 +0100
Fix rescale over time. (Closes: #766406)
---
debian/patches/fix_rescale_over_time.patch | 35 ++++++++++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 36 insertions(+)
diff --git a/debian/patches/fix_rescale_over_time.patch b/debian/patches/fix_rescale_over_time.patch
new file mode 100644
index 0000000..0fde993
--- /dev/null
+++ b/debian/patches/fix_rescale_over_time.patch
@@ -0,0 +1,35 @@
+From b3c276ee364710cce74599cdaf781e31c78a68a9 Mon Sep 17 00:00:00 2001
+From: Joachim Pouderoux <joachim.pouderoux at kitware.com>
+Date: Thu, 16 Jan 2014 17:15:48 +0100
+Subject: [PATCH] BUG: Fix rescale over time in color map editor
+
+Rename some function calls which were performed on the
+non-over-time version.
+
+The functionnality was broken in PV - since July 2013 I guess.
+
+Change-Id: I90abb87fc16067aed0ee4a8cd167282595948d07
+---
+
+Index: paraview/ParaViewCore/ServerManager/Rendering/vtkSMPVRepresentationProxy.h
+===================================================================
+--- paraview.orig/ParaViewCore/ServerManager/Rendering/vtkSMPVRepresentationProxy.h
++++ paraview/ParaViewCore/ServerManager/Rendering/vtkSMPVRepresentationProxy.h
+@@ -117,7 +117,7 @@ public:
+ {
+ vtkSMPVRepresentationProxy* self =
+ vtkSMPVRepresentationProxy::SafeDownCast(proxy);
+- return self? self->RescaleTransferFunctionToDataRange() : false;
++ return self? self->RescaleTransferFunctionToDataRangeOverTime() : false;
+ }
+
+ // Description:
+@@ -129,7 +129,7 @@ public:
+ vtkSMPVRepresentationProxy* self =
+ vtkSMPVRepresentationProxy::SafeDownCast(proxy);
+ return self?
+- self->RescaleTransferFunctionToDataRange(arrayname, attribute_type) : false;
++ self->RescaleTransferFunctionToDataRangeOverTime(arrayname, attribute_type) : false;
+ }
+
+ protected:
diff --git a/debian/patches/series b/debian/patches/series
index 237e52f..9188579 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -7,3 +7,4 @@ fix_GLintptr_FTBFS.patch
fix_ftbfs_freetype.patch
reduce_cmake_error.cmake
ffmpeg_2.9.patch
+fix_rescale_over_time.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/paraview.git
More information about the debian-science-commits
mailing list