Commit b9340665 authored by Marc R.'s avatar Marc R.

Merge branch '221-bugs-concerning-render-mode-change-in-volume-raycaster' into 'master'

Resolve "Bugs concerning render mode change in Volume Raycaster"

Closes #221

See merge request !203
parents 2f09a62f 5127c003
......@@ -1478,13 +1478,13 @@ void MNWPVolumeRaycasterActor::onQtPropertyChanged(QtProperty* property)
if (suppressActorUpdates()) return;
var = dynamic_cast<MNWP3DVolumeActorVariable*>(variables[variableIndex]);
shadingVar = dynamic_cast<MNWP3DVolumeActorVariable*>(variables[shadingVariableIndex]);
if (var == nullptr || shadingVar == nullptr) return;
switch (renderMode)
{
case RenderMode::Original:
case RenderMode::DVR:
normalCurveSettings->groupProp->setEnabled(true);
var->ensembleSingleMemberProperty->setEnabled(true);
var->setEnsembleMember(properties->getEnumItem(
var->ensembleSingleMemberProperty).toInt());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment