hax it for now
So I decide to workaround the issue. I don't really want to implement a custom terraintoolwidget. I rather get the feature working first then make it look right, so I will still be reusing the widget. The workaround is a single line modification in qtOgitors mainwindow.cpp, where the terraintoolwidget is added to the default terrain editor factories. I just grab my own terrain editor factory and attach the widget to it. It's that simple. In the future I may write a patch and let plugins have the ability to register themselves and have it so in mainwindow.cpp we iterate all the registered factories and attach the custom widget to it. Although I have to ask the forums to see if this is indeed necessary.
















