diff options
Diffstat (limited to 'source/blender/blenlib/intern')
-rw-r--r-- | source/blender/blenlib/intern/DLRB_tree.c | 2 | ||||
-rw-r--r-- | source/blender/blenlib/intern/freetypefont.c | 4 | ||||
-rw-r--r-- | source/blender/blenlib/intern/math_geom.c | 2 | ||||
-rw-r--r-- | source/blender/blenlib/intern/noise.c | 4 |
4 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/blenlib/intern/DLRB_tree.c b/source/blender/blenlib/intern/DLRB_tree.c index 59d80b45a84..7917730cd6a 100644 --- a/source/blender/blenlib/intern/DLRB_tree.c +++ b/source/blender/blenlib/intern/DLRB_tree.c @@ -515,7 +515,7 @@ static void insert_check_3(DLRBT_Tree *tree, DLRBT_Node *node) if ((node == node->parent->left) && (node->parent == gp->left)) { rotate_right(tree, gp); } - else { //if ((node == node->parent->right) && (node->parent == gp->right)) + else { // if ((node == node->parent->right) && (node->parent == gp->right)) rotate_left(tree, gp); } } diff --git a/source/blender/blenlib/intern/freetypefont.c b/source/blender/blenlib/intern/freetypefont.c index 92553ae89a9..7be7674069c 100644 --- a/source/blender/blenlib/intern/freetypefont.c +++ b/source/blender/blenlib/intern/freetypefont.c @@ -386,7 +386,7 @@ static int check_freetypefont(PackedFile *pf) err = FT_New_Memory_Face(library, pf->data, pf->size, 0, &face); if (err) { success = 0; - //XXX error("This is not a valid font"); + // XXX error("This is not a valid font"); } else { glyph_index = FT_Get_Char_Index(face, 'A'); @@ -400,7 +400,7 @@ static int check_freetypefont(PackedFile *pf) success = 1; } else { - //XXX error("Selected Font has no outline data"); + // XXX error("Selected Font has no outline data"); success = 0; } } diff --git a/source/blender/blenlib/intern/math_geom.c b/source/blender/blenlib/intern/math_geom.c index fa018cca642..898e97613c1 100644 --- a/source/blender/blenlib/intern/math_geom.c +++ b/source/blender/blenlib/intern/math_geom.c @@ -2856,7 +2856,7 @@ bool isect_ray_aabb_v3(const struct IsectRayAABB_Precalc *data, /* Note: tmax does not need to be updated since we don't use it * keeping this here for future reference - jwilkins */ - //if (tzmax < tmax) tmax = tzmax; + // if (tzmax < tmax) tmax = tzmax; if (tmin_out) { (*tmin_out) = tmin; diff --git a/source/blender/blenlib/intern/noise.c b/source/blender/blenlib/intern/noise.c index 2fbf64e1200..e388cc06295 100644 --- a/source/blender/blenlib/intern/noise.c +++ b/source/blender/blenlib/intern/noise.c @@ -27,8 +27,8 @@ /* local */ static float noise3_perlin(float vec[3]); -//static float turbulence_perlin(const float point[3], float lofreq, float hifreq); -//static float turbulencep(float noisesize, float x, float y, float z, int nr); +// static float turbulence_perlin(const float point[3], float lofreq, float hifreq); +// static float turbulencep(float noisesize, float x, float y, float z, int nr); /* UNUSED */ // #define HASHVEC(x, y, z) hashvectf + 3 * hash[(hash[(hash[(z) & 255] + (y)) & 255] + (x)) & 255] |