Thread Previous • Date Previous • Date Next • Thread Next |
It doesn't use the closest apparently. If you want to make some tests, you can checkout last commit (where bad dispatch is workarounded) and uncomment the code for Gl1_ChainedCylinder, which is never called in chained-cylinder-spring.py.But what if I want to force a different functor for B? I just tried deriving Gl1_B : Gl1_A, but it seems Gl1_A will always be used to display B, witout looking down the inheritance tree. Is there a simple workaround?It should use the closest dispatch as you describe.
Bruno
Thread Previous • Date Previous • Date Next • Thread Next |