Skip to content

Commit

Permalink
Merge pull request #595 from scenerygraphics/fix-scale-volume-timeseries
Browse files Browse the repository at this point in the history
Fix scale to be reasonable
  • Loading branch information
kephale authored Jun 10, 2024
2 parents c311c91 + a79d4d1 commit c53ccda
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ class VolumeTimeseriesDemo : Command {
val dataset = makeDataset()

val bdv = BdvFunctions.show(dataset, "test")
sciView.addVolume(dataset, "Volume Render Demo", floatArrayOf(1f, 1f, 1f)) {
sciView.addVolume(dataset, "Volume Render Demo", floatArrayOf(0.01f, 0.01f, 0.01f)) {
pixelToWorldRatio = 10f
this.geometryOrNull()?.dirty = true
this.spatialOrNull()?.needsUpdate = true
Expand Down

0 comments on commit c53ccda

Please sign in to comment.