Revision: 39656
          
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=39656
Author:   elubie
Date:     2011-08-23 17:20:32 +0000 (Tue, 23 Aug 2011)
Log Message:
-----------
compile fix for when WITH_ARPACK is off
(done after GSOC)
- reported by Dan Walters

Modified Paths:
--------------
    branches/soc-2011-avocado/blender/intern/autoseam/AutoseamAdjacency.cpp

Modified: 
branches/soc-2011-avocado/blender/intern/autoseam/AutoseamAdjacency.cpp
===================================================================
--- branches/soc-2011-avocado/blender/intern/autoseam/AutoseamAdjacency.cpp     
2011-08-23 15:08:54 UTC (rev 39655)
+++ branches/soc-2011-avocado/blender/intern/autoseam/AutoseamAdjacency.cpp     
2011-08-23 17:20:32 UTC (rev 39656)
@@ -31,7 +31,9 @@
 #include "BKE_report.h"
 #include "AutoseamAdjacency.h"
 #include "MEM_guardedalloc.h"
+#ifdef WITH_ARPACK
 #include "EigenSolverArpack.h"
+#endif
 
 #define THRESHOLD_ZERO 0.0005
 #define EXTRA_MEMORY_SIZE 10
@@ -112,6 +114,7 @@
 
 bool AutoseamAdjacency::generate_seam()
 {
+#ifdef WITH_ARPACK
        eigen_vectors vectors;
        MatrixXd& a = m_adjacency;
        
@@ -174,8 +177,9 @@
                
                return found;
        }
-       
-       return 0;
+#endif
+
+       return false;
 }
 
 int AutoseamAdjacency::get_num_splits()

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to