[subset-cff] Round numbers when instancing
This commit is contained in:
parent
2f174f23c3
commit
acc6c13f05
|
@ -153,7 +153,7 @@ struct cff2_cs_opset_flatten_t : cff2_cs_opset_t<cff2_cs_opset_flatten_t, flatte
|
||||||
env.set_error ();
|
env.set_error ();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
arg1.set_real (instantiate_blend (arg1, env, param));
|
arg1.set_int (round (instantiate_blend (arg1, env, param)));
|
||||||
encoder.encode_num (arg1);
|
encoder.encode_num (arg1);
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue