Freak not out if we have no shadow frames to composite.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4022 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2006-04-14 21:49:11 +00:00
parent 79be7ebd1b
commit 40d78e44d3
@@ -375,6 +375,11 @@ public class CharacterManager
sources.add(source);
}
// if we ended up with no shadow, no problem!
if (sources.size() == 0) {
return null;
}
// create custom action frames that use a special compositing
// multi-frame image that does the necessary shadow magic
ComponentFrames[] svec = (ComponentFrames[])