Curve Editor: minor code cleanup.
Curve Editor: minor code cleanup.

chbfiv/fabric-engine-old,chbfiv/fabric-engine-old,chbfiv/fabric-engine-old,errordeveloper/fe-devel,errordeveloper/fe-devel,errordeveloper/fe-devel,chbfiv/fabric-engine-old,errordeveloper/fe-devel,errordeveloper/fe-devel,errordeveloper/fe-devel,errordeveloper/fe-devel,chbfiv/fabric-engine-old,chbfiv/fabric-engine-old,chbfiv/fabric-engine-old