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

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

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

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