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

Tiles are requested three times #135

Open
akreshuk opened this issue Aug 28, 2013 · 1 comment
Open

Tiles are requested three times #135

akreshuk opened this issue Aug 28, 2013 · 1 comment
Assignees
Labels
Milestone

Comments

@akreshuk
Copy link
Member

For each tile three requests are coming. This makes the volume editor three times slower.

@ghost ghost assigned thorbenk Aug 28, 2013
@stuarteberg
Copy link
Member

According to @thorbenk this should reproduce it:

from volumina.api import Viewer
from PyQt4.QtGui import QApplication
from PyQt4.QtCore import QTimer

app = QApplication([])
v = Viewer()
import numpy
a = numpy.zeros((50,50,50), dtype=numpy.uint8)
v.addGrayscaleLayer(a, name="raw")
v.show()

def change():
    v.dataShape = (1, 100, 200, 300, 1)

#QTimer.singleShot(200, change)
app.exec_()

Use above code with:

$ cat > .voluminarc
[pixelpipeline]
verbose: true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants