Widden some #if 0 to completely remove harmful code.
This commit is contained in:
Martin Poirier
2008-12-29 04:23:41 +00:00
parent 6f8cc8a8ad
commit c3ccc8a5ac

View File

@@ -414,8 +414,8 @@ void convertVecToDisplayNum(float *vec, float *num)
VECCOPY(num, vec);
if ((t->spacetype==SPACE_IMAGE) && (t->mode==TFM_TRANSLATION)) {
#if 0 // TRANSFORM_FIX_ME
if ((t->spacetype==SPACE_IMAGE) && (t->mode==TFM_TRANSLATION)) {
float aspx, aspy;
if((G.sima->flag & SI_COORDFLOATS)==0) {
@@ -429,8 +429,8 @@ void convertVecToDisplayNum(float *vec, float *num)
transform_aspect_ratio_tface_uv(&aspx, &aspy);
num[0] /= aspx;
num[1] /= aspy;
#endif
}
#endif
}
void convertDisplayNumToVec(float *num, float *vec)
@@ -440,8 +440,8 @@ void convertDisplayNumToVec(float *num, float *vec)
VECCOPY(vec, num);
if ((t->spacetype==SPACE_IMAGE) && (t->mode==TFM_TRANSLATION)) {
#if 0 // TRANSFORM_FIX_ME
if ((t->spacetype==SPACE_IMAGE) && (t->mode==TFM_TRANSLATION)) {
float aspx, aspy;
if((G.sima->flag & SI_COORDFLOATS)==0) {
@@ -455,8 +455,8 @@ void convertDisplayNumToVec(float *num, float *vec)
transform_aspect_ratio_tface_uv(&aspx, &aspy);
vec[0] *= aspx;
vec[1] *= aspy;
#endif
}
#endif
}
static void viewRedrawForce(TransInfo *t)