fix NPE in FilterPostProcessor: corresponds to SVN revision 10920 in trunk
This commit is contained in:
parent
a77c090be2
commit
dc4d959617
@ -359,7 +359,7 @@ public class FilterPostProcessor implements SceneProcessor, Savable {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (lastFilterIndex == -1) {
|
if (isInitialized() && lastFilterIndex == -1) {
|
||||||
//There is no enabled filter, we restore the original framebuffer
|
//There is no enabled filter, we restore the original framebuffer
|
||||||
//to the viewport to bypass the fpp.
|
//to the viewport to bypass the fpp.
|
||||||
viewPort.setOutputFrameBuffer(outputBuffer);
|
viewPort.setOutputFrameBuffer(outputBuffer);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user