zturtleman / mm3d

Maverick Model 3D is a 3D model editor and animator for games.
https://clover.moe/mm3d
GNU General Public License v2.0
114 stars 22 forks source link

deleteBoneJoint has nonsensical code #132

Open m-7761 opened 4 years ago

m-7761 commented 4 years ago

https://github.com/mick-p1982/mm3d/blob/widgets95-ui/src/libmm3d/model.cc#L921-L931

This code seems to calculate "parent" and not use it, but it makes no sense for this API to test m_selected so it seems like something is wrong here.