Check HAPI_ParmInfo.typeInfoSH is not null before querying
@@ -298,12 +298,15 @@ configureStringAttribute(
{
tAttr.setUsedAsFilename(true);
+ if(parm.typeInfoSH)
+ {
MString filterString = Util::HAPIString(parm.typeInfoSH);
if(filterString.length())
{
filterString = filterString + "(" + filterString + ")";
tAttr.addToCategory("hapiParmFile_filter" + filterString);
}
+ }
switch(parm.permissions)
{
