mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-05-02 08:49:20 -05:00
Feature/path normalization (#1674)
* Path normalization (making sure there are fewer cases of '"..."' * Using more std::filesystem::path instead of std::string * Update Ghoul
This commit is contained in:
@@ -865,7 +865,7 @@ void RenderableStars::loadPSFTexture() {
|
||||
|
||||
if (_pointSpreadFunctionTexture) {
|
||||
LDEBUG(fmt::format(
|
||||
"Loaded texture from '{}'", absPath(_pointSpreadFunctionTexturePath)
|
||||
"Loaded texture from {}", absPath(_pointSpreadFunctionTexturePath)
|
||||
));
|
||||
_pointSpreadFunctionTexture->uploadTexture();
|
||||
}
|
||||
@@ -1267,10 +1267,7 @@ void RenderableStars::update(const UpdateData&) {
|
||||
absPath(_colorTexturePath).string()
|
||||
);
|
||||
if (_colorTexture) {
|
||||
LDEBUG(fmt::format(
|
||||
"Loaded texture from '{}'",
|
||||
absPath(_colorTexturePath)
|
||||
));
|
||||
LDEBUG(fmt::format("Loaded texture from {}", absPath(_colorTexturePath)));
|
||||
_colorTexture->uploadTexture();
|
||||
}
|
||||
|
||||
@@ -1293,7 +1290,7 @@ void RenderableStars::update(const UpdateData&) {
|
||||
);
|
||||
if (_otherDataColorMapTexture) {
|
||||
LDEBUG(fmt::format(
|
||||
"Loaded texture from '{}'",
|
||||
"Loaded texture from {}",
|
||||
absPath(_otherDataColorMapPath)
|
||||
));
|
||||
_otherDataColorMapTexture->uploadTexture();
|
||||
|
||||
Reference in New Issue
Block a user