diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-04-11 17:58:42 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-04-11 18:01:50 +0300 |
commit | 8091e39d22314a0e0bff68f66b7225fbe4a53b20 (patch) | |
tree | d6a5354a4731b176a9e704bf99a165235b29a8a3 /source/blender | |
parent | 6478f90cc2301ac86ed0fae19f626fd67ebf00cc (diff) |
Cleanup: remove unused code
This variable was never used.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/blenkernel/intern/font.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/source/blender/blenkernel/intern/font.c b/source/blender/blenkernel/intern/font.c index 9b184713f0e..c779f05c0b0 100644 --- a/source/blender/blenkernel/intern/font.c +++ b/source/blender/blenkernel/intern/font.c @@ -431,17 +431,6 @@ static void buildchar(Curve *cu, ListBase *nubase, unsigned int character, CharI vfd = vfont_get_data(which_vfont(cu, info)); if (!vfd) return; -#if 0 - if (cu->selend < cu->selstart) { - if ((charidx >= (cu->selend)) && (charidx <= (cu->selstart - 2))) - sel = 1; - } - else { - if ((charidx >= (cu->selstart - 1)) && (charidx <= (cu->selend - 1))) - sel = 1; - } -#endif - /* make a copy at distance ofsx, ofsy with shear */ shear = cu->shear; si = sinf(rot); |