Fixing bug in model magnification

This commit is contained in:
Anton Arbring
2015-06-25 20:07:21 -04:00
parent c7a3048dda
commit 4e72e248c3
3 changed files with 2 additions and 4 deletions

View File

@@ -76,7 +76,7 @@ ModelGeometry::ModelGeometry(const ghoul::Dictionary& dictionary)
success = dictionary.getValue(keySize, _magnification);
if (!success)
_magnification = 4; // if not set, models will be 1:1000, feel free to change @AA
_magnification = 0; // if not set, models will be 1:1 (earlier 1:1000) @AA
success = dictionary.getValue(keyObjFile, _file);
if (!success) {

View File

@@ -59,7 +59,7 @@ namespace openspace {
bool loadObj(const std::string& filename);
bool loadCachedFile(const std::string& filename);
bool saveCachedFile(const std::string& filename);
int _magnification;
float _magnification;
GLuint _vaoID;
GLuint _vbo;

View File

@@ -30,8 +30,6 @@
namespace {
const std::string _loggerCat = "WavefrontGeometry";
const std::string keyObjFile = "ObjFile";
// const int8_t CurrentCacheVersion = 3;
}
namespace openspace {