[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [12423] branches/qdune/blender/extern/ qdune/primitives/CCSubdivision.cpp: Forgot yet again to undo some testcode. ..
Alfredo de Greef
eeshlo at yahoo.com
Mon Oct 29 03:37:25 CET 2007
Revision: 12423
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=12423
Author: eeshlo
Date: 2007-10-29 03:37:25 +0100 (Mon, 29 Oct 2007)
Log Message:
-----------
Forgot yet again to undo some testcode...
Modified Paths:
--------------
branches/qdune/blender/extern/qdune/primitives/CCSubdivision.cpp
Modified: branches/qdune/blender/extern/qdune/primitives/CCSubdivision.cpp
===================================================================
--- branches/qdune/blender/extern/qdune/primitives/CCSubdivision.cpp 2007-10-29 02:26:17 UTC (rev 12422)
+++ branches/qdune/blender/extern/qdune/primitives/CCSubdivision.cpp 2007-10-29 02:37:25 UTC (rev 12423)
@@ -230,8 +230,7 @@
SET_EDGE(edge_list, fcverts[vi], fcverts[(vi+1) % nv], vert_list, face_list, vert_list.size(), fi);
}
- // edges done, now can check tags for creases
- // check tags, only "interpolateboundary" flag for now
+ // edges done, now can check for interpolateboundary/crease tags
intpolBD = false;
int ac = 0, fidx = 0, lastevi = 0;
if (ntags) {
@@ -2426,7 +2425,7 @@
{
// u & v *have* to be clamped to 0-1 range, otherwise will crash (out of range in LUT)
// update: u & v now can be 0 due to eval. modification, see below
- double u = CLAMP((double)uf, 1e-5, 1.0), v = CLAMP((double)vf, 1e-5, 1.0);
+ double u = CLAMP((double)uf, 0.0, 1.0), v = CLAMP((double)vf, 0.0, 1.0);
bool eop = ((u == 0.0) && (v == 0.0));
// determine in which domain omega_nk the parameter lies
//const int n = int(floor(MIN2(-log2(u), -log2(v))) + 1); // can be replaced by integer log2(1/x) (roundup)
More information about the Bf-blender-cvs
mailing list