mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-06 03:29:44 -06:00
Cleanup lambda expressions and directly address Fadeable properties when adding properties
This commit is contained in:
@@ -81,7 +81,7 @@ RenderableConstellationBounds::RenderableConstellationBounds(
|
||||
|
||||
// Avoid reading files here, instead do it in multithreaded initialize()
|
||||
_vertexFilename = absPath(p.file.string()).string();
|
||||
_vertexFilename.onChange([&](){ loadData(); });
|
||||
_vertexFilename.onChange([this](){ loadData(); });
|
||||
addProperty(_vertexFilename);
|
||||
|
||||
_color.setViewOption(properties::Property::ViewOptions::Color);
|
||||
|
||||
Reference in New Issue
Block a user