correct mask creation interface (closes #1451)
correct mask creation interface (closes #1451)

CircleCode/dynacase-core,Eric-Brison/dynacase-core,Eric-Brison/dynacase-core,CircleCode/dynacase-core,Eric-Brison/dynacase-core,CircleCode/dynacase-core