Currently, USDPrimReader reference counts aren't correctly maintained because the readers are stored in two separate arrays, in the USDStageReader instance and also in the import job data, but the reference counts for the readers is incremented only once. I changed the logic to store the readers only in the USDStageReader. Now also deleting the stage reader instance, fixing a small memory leak. Also, simplified the syntax for for looping over readers, to make the code more readable.
Full Hash: 4474c45e6129461c34905ae96caa5cc0d73c37b4 Parent Commit: db2168d Lines Changed: +77, -69