[3Depict/f16] * Add post release fixes for crash and UI interaction

mycae mycae at fedoraproject.org
Sun Dec 9 17:35:57 UTC 2012


commit c7efd3b69bf01c47930122fec46cd42e083553b0
Author: D Haley <mycae yahoo com>
Date:   Sun Dec 9 17:32:53 2012 +0000

    * Add post release fixes for crash and UI interaction

 3Depict-0.0.12-release-fixes.patch |   34 ++++++++++++++++++++++++++++++++++
 3Depict.spec                       |    8 +++++++-
 2 files changed, 41 insertions(+), 1 deletions(-)
---
diff --git a/3Depict-0.0.12-release-fixes.patch b/3Depict-0.0.12-release-fixes.patch
new file mode 100644
index 0000000..c1c580c
--- /dev/null
+++ b/3Depict-0.0.12-release-fixes.patch
@@ -0,0 +1,34 @@
+diff -r 53afe9a60fab -r 7bb4ba49dcb4 src/3Depict.cpp
+--- a/src/3Depict.cpp	Sat Nov 24 23:55:24 2012 +0100
++++ b/src/3Depict.cpp	Sun Dec 09 18:27:00 2012 +0100
+@@ -1772,7 +1772,7 @@
+ 
+ 			
+ 
+-			panelSpectra->limitInteraction(!locking);
++			panelSpectra->limitInteraction(locking);
+ 			break;
+ 		}
+ 		default:
+@@ -2071,6 +2071,9 @@
+ 	setLockUI(false);
+ 	panelTop->Enable(true);
+ 
++	//Re-run the scene update for the original case,
++	// this allow sfor things like the selection bindings to be reinitialised.
++	doSceneUpdate();
+ }
+ 
+ void MainWindowFrame::OnFileExportPackage(wxCommandEvent &event)
+diff -r 53afe9a60fab -r 7bb4ba49dcb4 src/mathglPane.cpp
+--- a/src/mathglPane.cpp	Sat Nov 24 23:55:24 2012 +0100
++++ b/src/mathglPane.cpp	Sun Dec 09 18:27:00 2012 +0100
+@@ -611,7 +611,7 @@
+ 
+ void MathGLPane::leftMouseDown(wxMouseEvent& event)
+ {
+-	if(!gr || !thePlot->getNumVisible() || !thePlot->isInteractionLocked())
++	if(!gr || !thePlot->getNumVisible() || thePlot->isInteractionLocked())
+ 		return;
+ 
+ 	int w,h;
diff --git a/3Depict.spec b/3Depict.spec
index 82d7f6b..23db2bf 100644
--- a/3Depict.spec
+++ b/3Depict.spec
@@ -1,6 +1,6 @@
 Name:		3Depict
 Version:	0.0.12
-Release:	1%{?dist}
+Release:	2%{?dist}
 Summary:	Valued 3D point cloud visualization and analysis
 Group:		Applications/Engineering
 
@@ -36,6 +36,8 @@ BuildRequires: qhull-devel
 Patch0: %{name}-%{version}-manual-pdf-loc.patch
 #Fedora specific font dir
 Patch1: %{name}-%{version}-font-path.patch
+#Upstream patch for 0.0.12 release bugs
+Patch2: %{name}-0.0.12-release-fixes.patch
 
 %description
 This software is designed to help users visualize and analyze 3D point clouds
@@ -49,6 +51,7 @@ useful for general scalar valued point data purposes.
 
 %patch0
 %patch1
+%patch2
 
 %build
 %configure --disable-debug-checks --enable-openmp-parallel
@@ -109,6 +112,9 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Sun Dec 9 2012 D Haley <mycae(a!t)yahoo.com> - 0.0.12-2
+- Import bugfixes from upstream for plot UI and crash fixes
+
 * Sun Nov 25 2012 D Haley <mycae(a!t)yahoo.com> - 0.0.12-1
 - Update to 0.0.12
 


More information about the scm-commits mailing list