alecjacobson / gptoolbox

Matlab toolbox for Geometry Processing.
MIT License
628 stars 166 forks source link

Bug in cat_meshes? #16

Closed oqilipo closed 8 years ago

oqilipo commented 8 years ago

https://github.com/alecjacobson/gptoolbox/blob/master/mesh/cat_meshes.m

The function only works for me if I change line 17

for m = 1:nargin/2

to

for m = 1:(nargin-2)/2

Kind regards

alecjacobson commented 8 years ago

You're right! I wonder how that bug got there... Fixed now.