Commit 1e2a1807 authored by Mark van Turnhout's avatar Mark van Turnhout
Browse files

bugfix introduced bug. fixed. (Courtesy of Willeke Traa)

parent 98cb5cf7
......@@ -54,7 +54,7 @@ for b = 1:numel(basil)
V = bas_cylSurfPatch(Vcs,npatch);
Vall{q} = V;
[com, ev] = bas_getIndDir(V);
[com(1:3,q), ev] = bas_getIndDir(V);
bonedirs(1:3,q) = ev(:,abs(ev(3,:)) == max(abs(ev(3,:))));
end
Vip = Vall{1}-repmat(com(:,1)',size(Vall{1},1),1); % pre-load
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment