Closed sirpalee closed 5 years ago
Added --no-undefined to the linker flags and added a very rough feature to the delegate registry to handle the dependency. I'm going to look into a more complete solution in the near future.
The current solution is good enough.
@Szabolcs found this issue while compiling Maya-to-Hydra for windows. This issue was first introduced in : 9aadaf49b800367795e92b67f4404baf4b9005ff . The delegate registry calls clear resources when a new delegate is registered.
I'm thinking about installing callbacks when new delegates are registered. Clearing all the resources at the next render is the most accessible approach, but we could check which delegates are not created yet and append them to the list. For now, I'm going to clear all the resources so that @Szabolcs can pull in an upstream solution for their work quickly.
When new adapters are registered, the HdMayaSceneDelegate has to call populate again, so any new shape that is supported is going to have its adapter created.