Skip to content

Commit

Permalink
Merge pull request #9 from MartinHahner/BugFix
Browse files Browse the repository at this point in the history
Bugfix - AttributeError: 'list' object has no attribute 'x'
  • Loading branch information
MarioBijelic authored Oct 30, 2020
2 parents b66a73e + 8460912 commit fae3629
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/DatasetViewer/DataViewer_V2.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def initUI(self):
# self.showMaximized()

self.w = gl.GLViewWidget()
self.w.setCameraPosition(pos=[0, 0, 0], distance=10, azimuth=180, elevation=10)
self.w.setCameraPosition(pos=QtGui.QVector3D(0, 0, 0), distance=10, azimuth=180, elevation=10)
self.initComboBoxes()

self.update_sample()
Expand Down Expand Up @@ -698,7 +698,7 @@ def editLabelsButton_clicked(self):
self.badSensorCheckBox.setEnabled(True)

def resetViewButton_clicked(self):
self.w.setCameraPosition(pos=[0, 0, 0], distance=10, azimuth=180, elevation=10)
self.w.setCameraPosition(pos=QtGui.QVector3D(0, 0, 0), distance=10, azimuth=180, elevation=10)

def goToIndexEdit_returnPressed(self):
try:
Expand Down

0 comments on commit fae3629

Please sign in to comment.