Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorMartin Poirier <theeth@yahoo.com>2008-12-29 07:23:41 +0300
committerMartin Poirier <theeth@yahoo.com>2008-12-29 07:23:41 +0300
commitc3ccc8a5ac42e070506d7957739bf0e1f0f7f5bb (patch)
tree34d3e5a4ec60f2904b33b24e95f178512db8cb4c /source
parent6f8cc8a8ad6a61db8850cb9b287e8fab569b21bd (diff)
2.5
Widden some #if 0 to completely remove harmful code.
Diffstat (limited to 'source')
-rw-r--r--source/blender/editors/transform/transform.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/editors/transform/transform.c b/source/blender/editors/transform/transform.c
index d3c5303798f..8141fe68b69 100644
--- a/source/blender/editors/transform/transform.c
+++ b/source/blender/editors/transform/transform.c
@@ -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)