Potential bug fix of #10999.
authorJiri Hnidek <jiri.hnidek@tul.cz>
Thu, 8 May 2008 21:33:15 +0000 (21:33 +0000)
committerJiri Hnidek <jiri.hnidek@tul.cz>
Thu, 8 May 2008 21:33:15 +0000 (21:33 +0000)
source/blender/blenkernel/intern/mball.c

index 16916381c95b74c364d2b7e4bc46be29264d706a..0cd7736f6c3f694b47ee711bc8104a6d9cf161a9 100644 (file)
@@ -1363,8 +1363,9 @@ void find_first_points(PROCESS *mbproc, MetaBall *mb, int a)
                                        out_v = mbproc->function(out.x, out.y, out.z);
 
                                        /* find "first points" on Implicit Surface of MetaElemnt ml */
-                                       //converge(&in, &out, in_v, out_v, mbproc->function, &mbproc->start, mb, 0);
-                                       workp = in;
+                                       workp.x = in.x;
+                                       workp.y = in.y;
+                                       workp.z = in.z;
                                        workp_v = in_v;
                                        max_len = sqrt((out.x-in.x)*(out.x-in.x) + (out.y-in.y)*(out.y-in.y) + (out.z-in.z)*(out.z-in.z));