mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-28 03:50:11 +08:00
Only load+undistort splatfacto images when they're used (#3043)
* Only load splatfacto dataset when it's used * ruff * typo fix * Fix #2817; don't undistort for `ns-viewer --viewer.max-num-display-images 0` * ruff
This commit is contained in:
1 parent
c572eb7f19
commit
3ac1b6bec7
2 files changed
+73
-95
No files matched your search
@@ -138,7 +138,7 @@ def parse_object(
|
||||
return []
|
||||
ret = []
|
||||
# get a list of the properties of the object, sorted by whether things are instances of type_check
|
||||
obj_props = [(k, getattr(obj, k)) for k in dir(obj)]
|
||||
obj_props = [(k, v) for k, v in vars(obj).items()]
|
||||
for k, v in obj_props:
|
||||
if k[0] == "_":
|
||||
continue
|
||||
|
||||
Reference in new issue
Block a user