@Override protected void bindScriptValues() { int width = getInPixelsAllocation().getType().getX(); int height = getInPixelsAllocation().getType().getY(); /// M: [BUG.ADD] @{ // null pointer check. @{ if (mScript == null) return; /// @} mScript.set_inputWidth(width); mScript.set_inputHeight(height); }