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:
@@ -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[])
|
||||
|
||||
Reference in New Issue
Block a user