Handle the case when no ModelParameter is set.
Merge branch 'mipmap'