johnyf / fig2u3d

Export MATLAB figure as U3D file or directly to 3D interactive PDF
http://www.mathworks.com/matlabcentral/fileexchange/37640-export-figure-to-3d-interactive-pdf
BSD 2-Clause "Simplified" License
62 stars 24 forks source link

Feature support hggroups #11

Open adhusch opened 7 years ago

adhusch commented 7 years ago

Add support for hggoups. The code until now assumed that the parent of a graphics handle is an axes object. This is not true for more complex graphics object hierarchies (e.g. involving groups of handles by hggroups). Thus traverse the graphics tree upwards in case the parent is not an axes until the axes is finally found.