imageworks/OpenShadingLanguage — pull request #284 by cmstein (2013-09-17 20:45:10+00:00)
Title: skip point-cloud lookups if the pointcloud has no points

We're having a problem where we're seeing a crash in partio while trying to read from a pointcloud file with 0 particles in it. This is an early exit if the pointcloud is "empty".