diff --git a/invesalius/data/viewer_volume.py b/invesalius/data/viewer_volume.py index 8f02c25..636b8d4 100644 --- a/invesalius/data/viewer_volume.py +++ b/invesalius/data/viewer_volume.py @@ -707,7 +707,7 @@ class Viewer(wx.Panel): self.index = False def SetNewColor(self, index, color): - self.staticballs[index].GetProperty().SetColor(color) + self.staticballs[index].GetProperty().SetColor([round(s/255.0, 3) for s in color]) self.Refresh() def OnTargetMarkerTransparency(self, status, index): -- libgit2 0.21.2