Mercurial > hg > svgui
comparison layer/Colour3DPlotLayer.cpp @ 1150:0edfed2c8482 msvc2015_64
MSVC build fixes
author | Chris Cannam |
---|---|
date | Tue, 18 Oct 2016 15:55:50 +0100 |
parents | 4e7ed3252d80 |
children | ab169938832a |
comparison
equal
deleted
inserted
replaced
1149:0d04b1cdb9f9 | 1150:0edfed2c8482 |
---|---|
34 #include <QSettings> | 34 #include <QSettings> |
35 | 35 |
36 #include <iostream> | 36 #include <iostream> |
37 | 37 |
38 #include <cassert> | 38 #include <cassert> |
39 | |
40 #ifndef __GNUC__ | |
41 #include <alloca.h> | |
42 #endif | |
43 | 39 |
44 using std::vector; | 40 using std::vector; |
45 | 41 |
46 //#define DEBUG_COLOUR_3D_PLOT_LAYER_PAINT 1 | 42 //#define DEBUG_COLOUR_3D_PLOT_LAYER_PAINT 1 |
47 | 43 |
607 Layer::setLayerDormant(v, false); | 603 Layer::setLayerDormant(v, false); |
608 } | 604 } |
609 } | 605 } |
610 | 606 |
611 bool | 607 bool |
612 Colour3DPlotLayer::isLayerScrollable(const LayerGeometryProvider */* v */) const | 608 Colour3DPlotLayer::isLayerScrollable(const LayerGeometryProvider * /* v */) const |
613 { | 609 { |
614 if (m_normalizeVisibleArea) { | 610 if (m_normalizeVisibleArea) { |
615 return false; | 611 return false; |
616 } | 612 } |
617 //!!! ah hang on, if we're potentially rendering incrementally | 613 //!!! ah hang on, if we're potentially rendering incrementally |