Merge pull request #585 from Mariosmsk/fix_initsetting583

fix EN_INITSETTING
This commit is contained in:
Elad Salomons
2020-02-11 21:14:10 +02:00
committed by GitHub

View File

@@ -3631,7 +3631,8 @@ int DLLEXPORT EN_getlinkvalue(EN_Project p, int index, int property, double *val
{
return EN_getlinkvalue(p, index, EN_ROUGHNESS, value);
}
v = Link[index].Kc;
if (Link[index].Kc == MISSING) v = 0.0;
else v = Link[index].Kc;
switch (Link[index].Type)
{
case PRV: