This PR takes care of a few issues. They are lumped together as they all required working from the same files or lines of code even.
1) First issue , #VFB-143 , decouples get3DMesh from getInstance. If the instance metadata is retrieved to show on term info, the 3d mesh is not loaded by default, there's a flag to choose to do it or not now.
2) Second issue , #VFB-144, removes OBJ property containing the full object from the redux state instances. We now have a middleware taking care of retrieving the OBJ data and creating the instances without storing the OBJ data in the redux store.
3) Third issue, #VFB-113 , fixes issue with selecting/deselecting instances colors. If instance is deselected, the previous color is applied.
No extra requirements to run this branch. Tested manually locally.
This PR takes care of a few issues. They are lumped together as they all required working from the same files or lines of code even.
1) First issue , #VFB-143 , decouples get3DMesh from getInstance. If the instance metadata is retrieved to show on term info, the 3d mesh is not loaded by default, there's a flag to choose to do it or not now.
2) Second issue , #VFB-144, removes OBJ property containing the full object from the redux state instances. We now have a middleware taking care of retrieving the OBJ data and creating the instances without storing the OBJ data in the redux store.
3) Third issue, #VFB-113 , fixes issue with selecting/deselecting instances colors. If instance is deselected, the previous color is applied.
No extra requirements to run this branch. Tested manually locally.