Add default colortable to data folder

This commit is contained in:
Oskar Carlbaum
2017-10-09 23:58:32 +02:00
parent bb43dace32
commit 1a00d8a34f
2 changed files with 10 additions and 1 deletions

View File

@@ -214,7 +214,7 @@ void RenderableFieldlinesSequence::initialize() {
}
// Set a default color table, just in case the (optional) user defined paths are corrupt/not provided!
_colorTablePaths.push_back("${OPENSPACE_DATA}/colortables/kroyw.txt");
_colorTablePaths.push_back("${OPENSPACE_DATA}/scene/fieldlinessequence/colortables/kroyw.txt");
_transferFunction = std::make_shared<TransferFunction>(absPath(_colorTablePaths[0]));
// EXTRACT OPTIONAL INFORMATION FROM DICTIONARY