Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mlavik1 committed Aug 26, 2024
1 parent 26c4491 commit ac33fa6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Assets/Scripts/VolumeObject/VolumeRenderedObject.cs
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ private async Task UpdateMaterialPropertiesAsync(IProgressHandler progressHandle
bool useGradientTexture = tfRenderMode == TFRenderMode.TF2D || renderMode == RenderMode.IsosurfaceRendering || lightingEnabled;
Texture3D dataTexture = await dataset.GetDataTextureAsync(progressHandler);
Texture3D gradientTexture = useGradientTexture ? await dataset.GetGradientTextureAsync(progressHandler) : null;
Texture3D secondaryDataTexture = await secondaryDataset?.GetDataTextureAsync(progressHandler);
Texture3D secondaryDataTexture = secondaryDataset ? await secondaryDataset?.GetDataTextureAsync(progressHandler) : null;
UpdateMatInternal(dataTexture, gradientTexture, secondaryDataTexture);
}
finally
Expand Down

0 comments on commit ac33fa6

Please sign in to comment.