mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-03 16:58:24 +02:00
fix: force float conversion
This commit is contained in:
parent
8cfc5cbb45
commit
7b467b649d
1 changed files with 1 additions and 1 deletions
|
@ -360,7 +360,7 @@ class ViewpointWrapper(QObject):
|
|||
return None
|
||||
focalLength = self.solvedIntrinsics["focalLength"]
|
||||
sensorHeight = self.solvedIntrinsics["sensorHeight"]
|
||||
return 2.0 * math.atan(sensorHeight / (2.0 * float(focalLength))) * 180 / math.pi
|
||||
return 2.0 * math.atan(float(sensorHeight) / (2.0 * float(focalLength))) * 180.0 / math.pi
|
||||
|
||||
@Property(type=QUrl, notify=denseSceneParamsChanged)
|
||||
def undistortedImageSource(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue