yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #05288
Re: Inheritance and dispatching?
> 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.
There is no Gl1_ChainedCylinder in the current code, so I could not
check.
I added #ifdef YADE_OPENGL to GL-related ChainedCylinder stuff, instead
of making all the classes dependent on opengl (there is no reason for
that). I hope we will have no conflicts.
I will commit, along with an updated scripts/test/dispatcher-torture.py
script, which gives this now (some dispatches are ambiguous because it
gives all the functors available to the dispatcher):
http://beta.arcig.cz/~eudoxos/temp/dispatch.html
Cheers, v.
Follow ups
References