On 10/13/07, John Faith <jfaith7@...400...> wrote:
Possibly this is the problem mentioned in the comment in nodepath.cpp: "/// evil evil evil. FIXME: conflict of two different Path classes!" ?
It's even funnier than that. That comment refers to yet another Path class. So the one in Geom is actually the third one, not second :)
- Path in nodepath.cpp
- Path in livarot
- Path in Geom
Has anyone thought about a fix to this before? It seems like a possible solution would be to add a namespace around the Path class in livarot or to rename one of the classes, but I'm not sure what the ripple effect would be. I tried adding "Geom::" or "::" to Path in a couple places, but it didn't seem to work.
I think we just need to add a namespace for the nodepath Path, because that will leave only the livarot one without namespace. Try to avoid touching livarot (because it's ugly and will hopefully be eliminated one day) and Geom (because it's actually a copy of code from another project, with periodic syncing); this leaves the nodepath Path. Please try this and if it works, submit a patch.