mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-05-04 09:59:44 -05:00
Merge branch 'feature/iSWA' of github.com:OpenSpace/OpenSpace-Development into feature/iSWA
This commit is contained in:
@@ -52,6 +52,7 @@ TexturePlane::TexturePlane()
|
||||
_fileExtension = ISWAManager::ref().fileExtension(_cygnetId.value());
|
||||
_path = "${OPENSPACE_DATA}/"+ name()+_fileExtension;
|
||||
|
||||
|
||||
_cygnetId.onChange([this](){
|
||||
_fileExtension = ISWAManager::ref().fileExtension(_cygnetId.value());
|
||||
_path = "${OPENSPACE_DATA}/"+ name()+_fileExtension;
|
||||
@@ -70,11 +71,8 @@ bool TexturePlane::initialize(){
|
||||
|
||||
CygnetPlane::initialize();
|
||||
|
||||
std::thread t = std::thread(std::bind(&TexturePlane::updateTexture, this));
|
||||
t.detach();
|
||||
|
||||
loadTexture();
|
||||
|
||||
updateTexture();
|
||||
|
||||
return isReady();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user