Re: Add "o" to OBJWriter output

by sjb007 » Mon Jun 20, 2022 12:35 pm

Reading the code the structure looks flat, so there shouldn't need to be any recursion. Just create a HashMap child:parent, then loop over the hashmap to build the parent groups when creating the full "path". Nothing too complicated.
Ha! Spoke too soon. That getAllFurniture does the descent for you, returning a flattened list of furniture, buggering up my first attempt at group nesting.