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

Commit 9b25b77f authored by Jason Sams's avatar Jason Sams Committed by Android Git Automerger
Browse files

am d641bb00: am 73ffe0cc: Merge "Catch errors for unknown object types."

* commit 'd641bb00':
  Catch errors for unknown object types.
parents ff3ed455 d641bb00
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();