Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 73ffe0cc authored by Jason Sams's avatar Jason Sams Committed by Gerrit Code Review
Browse files

Merge "Catch errors for unknown object types."

parents 22580b83 bca8e6d3
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -145,6 +145,9 @@ public class FileA3D extends BaseObj {
            case MESH:
                entry.mLoadedObj = new Mesh(objectID, rs);
                break;

            default:
                throw new RSRuntimeException("Unrecognized object type in file.");
            }

            entry.mLoadedObj.updateFromNative();