fixed save not working on new files

fix for #1026 / MAGN-1149
model curves from curve loop
Merge branch 'master' into ChocoButter-2Become1
Suupport ArbitraryDimensionArrayAttribute for C# parameter
Fix MAGN-1356: argument 'this' should be changed to class name with lower case
Merge remote-tracking branch 'upstream/ChocoButter-2Become1' into ChocoButter-2Become1