Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed volume management #443

Merged
merged 2 commits into from
Jun 27, 2018
Merged

Fixed volume management #443

merged 2 commits into from
Jun 27, 2018

Conversation

favreau
Copy link
Member

@favreau favreau commented Jun 26, 2018

No description provided.

@@ -47,6 +47,7 @@

#include <brayns/tasks/AddModelTask.h>

#include <brayns/pluginapi/ExtensionPlugin.h>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not needed?

@@ -193,6 +194,12 @@ struct Brayns::Impl : public PluginAPI
auto& scene = _engine->getScene();
auto& camera = _engine->getCamera();

if (_parametersManager.isAnyModified() || camera.isModified() ||
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why moved? the transferfunction.isModified() is not needed if you keep the markModified() in OSPRayScene, no?

@@ -733,6 +733,8 @@ class RocketsPlugin::Impl
{
auto& params = _parametersManager.getVolumeParameters();
auto postUpdate = [this](VolumeParameters&) {
// Cleanup existing volume data
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rm?

@@ -271,68 +270,81 @@ bool OSPRayScene::commitTransferFunctionData()
ospCommit(impl);
}
_transferFunction.resetModified();
markModified();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see comment above, to me this can stay as it was

@favreau favreau merged commit 62cafd4 into BlueBrain:master Jun 27, 2018
@tribal-tec tribal-tec added the bug label Jun 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants