tibicen / meshroom2blender

Blender importer of meshroom datafiles: cameras, images, sparse pointcloud and obj's.
GNU General Public License v3.0
188 stars 29 forks source link

Import error - pxFocalLength #1

Closed bluecd closed 5 years ago

bluecd commented 5 years ago

2.80 build: https://builder.blender.org/download/blender-2.80-0b6dbbc306b0-win64.zip

File "D:\Blender_Foundation\blender-2.80.0\2.80\scripts\addons_contrib\meshroom2blender__init__.py", line 238, in execute import_cameras(cameras_sfm, self.img_front) File "D:\Blender_Foundation\blender-2.80.0\2.80\scripts\addons_contrib\meshroom2blender__init__.py", line 114, in import_cameras pxFocalLength = int(intrinsic['pxFocalLength']) ValueError: invalid literal for int() with base 10: '3439.9871369657408'

tibicen commented 5 years ago

I wasn´t aware that pxFocalLength can be float. :) Fast fixed now, you can try it out, but I will test it when i get back home. :) Please tell me if it worked out for you?

tibicen commented 5 years ago

OK, The issue was fixed I´m closing it.